From 97031a8099b7e074949971254817835ad2b90665 Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Wed, 19 Jul 2023 00:05:45 +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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SrcJyAliPublic.js b/SrcJyAliPublic.js index a23d8d9..ce1d6a3 100644 --- a/SrcJyAliPublic.js +++ b/SrcJyAliPublic.js @@ -249,6 +249,7 @@ function aliMyPlayUrl(file_id) { return { message: '获取我的云盘播放地址失败>' + e.message }; } } + function aliOpenPlayUrl(file_id,sharedata) { try { function getopentoken(authorization) { @@ -345,6 +346,7 @@ function aliOpenPlayUrl(file_id,sharedata) { let data3 = {"drive_id":drive_id,"file_id":newfile_id||file_id} let json3 = JSON.parse(request('https://open.aliyundrive.com/adrive/v1.0/openFile/getDownloadUrl', { headers: headers, body: data3, method: 'POST', timeout: 3000 })); if (newfile_id) { + sharedata.file_id = newfile_id; del(sharedata); } return json3.url || "";