|
|
|
@ -201,12 +201,12 @@ function getSubtitle(share_id, sub_file_id, share_pwd) { |
|
|
|
|
return ""; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function aliMyPlayUrl(file_id) { |
|
|
|
|
function aliMyPlayUrl(file_id, driveid) { |
|
|
|
|
try { |
|
|
|
|
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 || userinfo.default_drive_id; |
|
|
|
|
let drive_id = driveid?driveid:getMyVar("selectDisk", "1") == "1" ? userinfo.default_drive_id : userinfo.resource_drive_id || userinfo.default_drive_id; |
|
|
|
|
headers['authorization'] = authorization; |
|
|
|
|
headers['x-device-id'] = deviceId; |
|
|
|
|
let aliecc = createsession(headers, deviceId, userId); |
|
|
|
|