This commit is contained in:
lxk0301
2021-02-02 10:10:40 +08:00
parent b432d56058
commit d9adcd4023

View File

@ -336,6 +336,7 @@ function signIndex() {
}
function signEveryDay() {
return new Promise(async (resolve) => {
try {
let signIndexRes = await signIndex();
if (signIndexRes.resultCode === 0) {
console.log(`每日签到条件查询:${signIndexRes.resultData.data.canSign === 2 ? '可以签到' : '已经签到过了'}`);
@ -352,7 +353,11 @@ function signEveryDay() {
}
}
}
} catch (e) {
$.logErr(e);
} finally {
resolve()
}
})
}
function signOne(signDay) {