Skip to content

Commit 078a1b4

Browse files
committed
1 parent 3fcdd8f commit 078a1b4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Task/youth.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ if (isGetCookie = typeof $request !== 'undefined') {
102102
await userInfo();
103103
await kdHost();
104104
await friendsign();
105-
await comApp();
106105
await TaskCenter()
107106
await openbox();
108107
await getAdVideo();
@@ -213,15 +212,16 @@ function getAction(acttype) {
213212

214213
function getsign() {
215214
return new Promise((resolve, reject) =>{
216-
$.post(kdHost('WebApi/NewTaskIos/sign'), (error, resp, data) =>{
215+
$.post(kdHost('WebApi/NewTaskIos/sign'), async(error, resp, data) =>{
217216
signres = JSON.parse(data);
218217
//$.log(formatJson(data));
219218
if (signres.status == 2) {
220219
sub = `签到失败,Cookie已失效‼️`;
221220
$.msg($.name, sub, "");
222221
return;
223222
} else if (signres.status == 1) {
224-
detail = `【签到结果】成功 🎉 青豆: +${signres.score},明日青豆: +${signres.nextScore}\n`
223+
detail = `【签到结果】成功 🎉 青豆: +${signres.score},明日青豆: +${signres.nextScore}\n`;
224+
await comApp();
225225
}
226226
resolve()
227227
})

0 commit comments

Comments
 (0)