From abbe4c0a4ac3fb7fa2790ea8fb85f0273b8cc5a1 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Tue, 5 Dec 2023 13:54:09 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SrcJyAliPublic.js b/SrcJyAliPublic.js index 037e1b9..a2d667e 100644 --- a/SrcJyAliPublic.js +++ b/SrcJyAliPublic.js @@ -206,7 +206,7 @@ function aliMyPlayUrl(file_id) { let authorization = 'Bearer ' + userinfo.access_token; let deviceId = userinfo.device_id; let userId = userinfo.user_id; - let drive_id = getMyVar("selectDisk", "1") == "1" ? userinfo.default_drive_id : userinfo2.resource_drive_id; + let drive_id = getMyVar("selectDisk", "1") == "1" ? userinfo.default_drive_id : userinfo.resource_drive_id; headers['authorization'] = authorization; headers['x-device-id'] = deviceId; let aliecc = createsession(headers, deviceId, userId); @@ -330,7 +330,7 @@ function aliOpenPlayUrl(file_id, sharedata) { }); } let authorization = 'Bearer ' + userinfo.access_token; - let drive_id = getMyVar("selectDisk", "1") == "1" ? userinfo.default_drive_id : userinfo2.resource_drive_id; + let drive_id = getMyVar("selectDisk", "1") == "1" ? userinfo.default_drive_id : userinfo.resource_drive_id; let newfile_id; if (sharedata) { sharedata.file_id = file_id;