更新 'SrcJyAliPublic.js'

master
src48597962 2 years ago
parent ca6ce1e1ae
commit 71d08e2b8a
  1. 2
      SrcJyAliPublic.js

@ -50,10 +50,10 @@ let headers = {
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36 Edg/110.0.1587.41",
"x-canary": "client=web,app=adrive,version=v3.1.0"
};
let userinfo = {};
if(alitoken){
let nowtime = Date.now();
let oldtime = parseInt(getMyVar('userinfoChecktime', '0').replace('time', ''));
let userinfo;
let aliuserinfo = storage0.getMyVar('aliuserinfo');
if (aliuserinfo && aliuserinfo.user_id && nowtime < (oldtime + 2 * 60 * 60 * 1000)) {
userinfo = aliuserinfo;

Loading…
Cancel
Save