|
|
@@ -83,6 +83,7 @@ async function all() {
|
|
|
lk.appendNotifyInfo(`❌缺少次要参数,请登录app采集`);
|
|
|
} else {
|
|
|
let ret_code = await checkRefreshToken();
|
|
|
+ lk.log(`用户token数据状态:${ret_code}`);
|
|
|
if(ret_code < 0){
|
|
|
lk.log('#用户token数据已失效');
|
|
|
lk.appendNotifyInfo(`❌用户token刷新失败,请登录app采集`);
|
|
|
@@ -466,6 +467,7 @@ async function checkRefreshToken(){
|
|
|
return -2;
|
|
|
}
|
|
|
let headers = response.headers;
|
|
|
+ lk.log("######response######");
|
|
|
if(headers['Set-Cookie']){
|
|
|
let newAuthorization = null;
|
|
|
let cookieStr = headers['Set-Cookie'];
|