Giter VIP home page Giter VIP logo

aliyundriver-refresh-token's Introduction

QR Code 扫码获取阿里云盘 refresh token

Vercel 部署

本地 开发

  • yarn serve
  • yarn vercel:dev 需要登陆

生成二维码

说明 : 调用此接口 , 获取二维码

调用例子 : /api/generate

可选参数 : img: boolean

返回说明 :

  • t : 一个用于查询的参数传递给 /api/state-query (tip:这个不是当前的时间戳)
  • ck : 一个用于查询的参数传递给 /api/state-query
  • codeContent : img为 true 时是一个 base64 图片否则是二维码的接口地址(可自行绘制二维码)

查询二维码状态

说明 : 调用此接口 ,查询二维码状态

调用例子 : /api/state-query?t=&ck=

必选参数 :

t : 使用 /api/generate接口返回的 t

ck : 使用 /api/generate接口返回的 ck

tip : 如果不匹配 查询结果一直是 EXPIRED的状态

返回说明 :

  • qrCodeStatus
    • NEW: "请用阿里云盘 App 扫码",
    • SCANED: "请在手机上确认",
    • EXPIRED: "二维码已过期",
    • CANCELED: "已取消",
    • CONFIRMED: "已确认"
  • bizExt 用户信息、token 等... (已经 base64 解码了,可直接食用)

说明 : 调用此接口 ,查询进行签到

调用例子 : /api/sign?refreshToken=

必选参数 :

refreshToken : 一个用于刷新 token 的 refreshToken

返回 :

本月累计签到 x 天
第 x 天奖励领取成功: 获得 xxx

查询阿里云资源链接是否有效

说明 : 调用此接口 ,查询源链接是否有效

调用例子 : /api/check_link?link=

必选参数 :

link : 云盘资源链接 示例:https://www.aliyundrive.com/s/{xxx}

返回说明 :

  • code 包装的是原接口的状态 200即为有效
  • msg 详情信息
  • data 包装的是原接口的响应 (不做说明)

相关项目

阿里云盘每日签到脚本 青龙面板支持

阿里云盘 Go SDK

Demo

示例

License

The MIT License (MIT)

最后申明

本项目仅做学习交流, 禁止用于各种非法途径!!! 本项目仅做学习交流, 禁止用于各种非法途径!!! 本项目仅做学习交流, 禁止用于各种非法途径!!!

aliyundriver-refresh-token's People

Contributors

itxve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

aliyundriver-refresh-token's Issues

在vercel中部署后,二维码不显示,只有空白框

在推荐的vercel中部署后,网页上的二维码不显示,只有一个空白的框。
部署时的框架选了默认的那个vite。不知道是哪边的问题了。能否解惑一下?
在自己的vps上也是不显示二维码,只有空白框及“请用阿里云盘 App 扫码”几个字。
地址在这里

--
00:39:01.720 | Cloning completed: 433.387ms
00:39:01.875 | Running "vercel build"
00:39:02.448 | Vercel CLI 28.13.2
00:39:03.590 | Running "install" command: `npm install`...
00:39:08.373 |  
00:39:08.374 | added 58 packages, and audited 59 packages in 4s
00:39:08.374 |  
00:39:08.374 | 6 packages are looking for funding
00:39:08.374 | run `npm fund` for details
00:39:08.375 |  
00:39:08.375 | found 0 vulnerabilities
00:39:08.394 | Detected `package-lock.json` generated by npm 7+...
00:39:08.395 | Running "npm run build"
00:39:08.797 |  
00:39:08.797 | > [email protected] build
00:39:08.798 | > tsc --noEmit && vite build
00:39:08.798 |  
00:39:10.717 | vite v2.9.15 building for production...
00:39:10.790 | transforming...
00:39:10.860 | ✓ 4 modules transformed.
00:39:10.882 | rendering chunks...
00:39:10.889 | dist/index.html                 1.85 KiB
00:39:10.891 | dist/assets/index.06776baa.js   1.83 KiB / gzip: 0.89 KiB
00:39:10.931 | Installing dependencies...
00:39:11.621 |  
00:39:11.621 | up to date in 323ms
00:39:11.622 |  
00:39:11.622 | 6 packages are looking for funding
00:39:11.622 | run `npm fund` for details
00:39:11.960 | Using TypeScript 4.9.4 (local user-provided)
00:39:14.192 | Using TypeScript 4.9.4 (local user-provided)
00:39:14.313 | Build Completed in /vercel/output [11s]
00:39:17.147 | Generated build outputs:
00:39:17.147 | - Static files: 4
00:39:17.147 | - Serverless Functions: 2
00:39:17.147 | - Edge Functions: 0
00:39:17.148 | Serverless regions: Washington, D.C., USA
00:39:17.148 | Deployed outputs in 2s
00:39:17.864 | Build completed. Populating build cache...
00:39:20.666 | Uploading build cache [11.00 MB]...
00:39:21.908 | Build cache uploaded: 1.243s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.