🚨 完善部分处理

This commit is contained in:
BTMuli
2026-03-11 11:44:17 +08:00
parent 9f707db9f7
commit f5da601620
2 changed files with 16 additions and 1 deletions

View File

@@ -271,6 +271,12 @@ async function trySign(
const signResp = await lunaReq.sign.oper(item.account, cookie, challenge);
console.log("签到信息", item, signResp);
if (challenge !== undefined) challenge = undefined;
if (typeof signResp !== "object") {
await TGLogger.Script(
`[签到任务]${item.info.title}-${item.account.regionName}-${item.account.gameUid} ${signResp}`,
);
break;
}
if ("retcode" in signResp) {
if (signResp.retcode === 1034) {
if (skip) {