|
|
|
@ -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 : userinfo.resource_drive_id; |
|
|
|
|
let drive_id = getMyVar("selectDisk", "1") == "2" ? userinfo.resource_drive_id : userinfo.default_drive_id; |
|
|
|
|
headers['authorization'] = authorization; |
|
|
|
|
headers['x-device-id'] = deviceId; |
|
|
|
|
let aliecc = createsession(headers, deviceId, userId); |
|
|
|
@ -332,7 +332,7 @@ function aliOpenPlayUrl(file_id, sharedata) { |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
let authorization = 'Bearer ' + userinfo.access_token; |
|
|
|
|
let drive_id = getMyVar("selectDisk", "1") == "1" ? userinfo.default_drive_id : userinfo.resource_drive_id; |
|
|
|
|
let drive_id = getMyVar("selectDisk", "1") == "2" ? userinfo.resource_drive_id : userinfo.default_drive_id; |
|
|
|
|
let newfile_id; |
|
|
|
|
if (sharedata) { |
|
|
|
|
log(sharedata); |
|
|
|
|