|
|
@ -271,7 +271,7 @@ function aliOpenPlayUrl(file_id, sharedata) { |
|
|
|
json2 = JSON.parse(request('https://api.xhofe.top/alist/ali_open/code', { body: data2, method: 'POST', timeout: 8000 })); |
|
|
|
json2 = JSON.parse(request('https://api.xhofe.top/alist/ali_open/code', { body: data2, method: 'POST', timeout: 8000 })); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
putMyVar('aliopentoken', json2.access_token); |
|
|
|
putMyVar('aliopentoken', json2.access_token);//json2.refresh_token
|
|
|
|
putMyVar('opentokenChecktime', nowtime + 'time'); |
|
|
|
putMyVar('opentokenChecktime', nowtime + 'time'); |
|
|
|
return json2.access_token || ""; |
|
|
|
return json2.access_token || ""; |
|
|
|
} |
|
|
|
} |
|
|
|