From ad46f46a0d9a3c12bcccc9094687dab5f9c45cfb Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Mon, 22 Jul 2024 22:57:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyAliPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyAliPublic.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/SrcJyAliPublic.js b/SrcJyAliPublic.js index 6c4dd52..247a97d 100644 --- a/SrcJyAliPublic.js +++ b/SrcJyAliPublic.js @@ -386,15 +386,12 @@ function getOpenToken(authorization) { method: 'POST', timeout: 8000 })).data.sid; - log(sid); + //log(sid); let json = JSON.parse(request('https://open.aliyundrive.com/oauth/users/qrcode/authorize?sid=' + sid, { headers: headers, body: { "authorize": 1, - "scope": "user:base,file:all:read,file:all:write", - "drives": ["backup", "resource"], - "scopes": ["user:base", "file:all:read", "file:all:write"], - "sid": sid + "scopes": ["user:base", "file:all:read", "file:all:write"] }, method: 'POST', timeout: 8000