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