|
@@ -18,14 +18,12 @@ function checkHasUserInfo() {
|
|
if (minute < 20) {
|
|
if (minute < 20) {
|
|
refreshTokenPage().then(() => {
|
|
refreshTokenPage().then(() => {
|
|
clearTimeout(timer);
|
|
clearTimeout(timer);
|
|
- checkHasUserInfo(1000);
|
|
|
|
|
|
+ checkHasUserInfo(600000);
|
|
});
|
|
});
|
|
- console.log("minute==", minute)
|
|
|
|
} else {
|
|
} else {
|
|
clearTimeout(timer);
|
|
clearTimeout(timer);
|
|
- checkHasUserInfo(1000);
|
|
|
|
|
|
+ checkHasUserInfo(600000);
|
|
}
|
|
}
|
|
- console.log("minute==", minute)
|
|
|
|
} else {
|
|
} else {
|
|
clearTimeout(timer);
|
|
clearTimeout(timer);
|
|
checkHasUserInfo(600000);
|
|
checkHasUserInfo(600000);
|