更新 'SrcJyAliPublic.js'

master
src48597962 2 years ago
parent 773b9cf8bd
commit 3ebf9dd028
  1. 3
      SrcJyAliPublic.js

@ -62,6 +62,9 @@ if (alitoken) {
userinfo = JSON.parse(request('https://auth.aliyundrive.com/v2/account/token', { headers: headers, body: { "refresh_token": alitoken, "grant_type": "refresh_token" }, method: 'POST', timeout: 3000 }));
storage0.putMyVar('aliuserinfo', userinfo);
putMyVar('userinfoChecktime', nowtime + 'time');
alistconfig.alitoken = userinfo.refresh_token;
alistData.config = alistconfig;
writeFile(alistfile, JSON.stringify(alistData));
}
}

Loading…
Cancel
Save