|
|
@@ -76,6 +76,8 @@ async function Main() {
|
|
|
magicJS.logger.info(`开始执行第 ${index + 1} 个Cookies的作业`);
|
|
|
currentCookie = magicJS.data.read(dingDongCookieKey, "", session);
|
|
|
currentBody = magicJS.data.read(dingDongBodyKey, "", session);
|
|
|
+ magicJS.logger(currentCookie);
|
|
|
+ magicJS.logger(currentBody);
|
|
|
await magicJS.utils.retry(checkIn, 3, 1000)(currentCookie, currentBody).then(msg => {
|
|
|
magicJS.notification.post(msg);
|
|
|
}).catch(err => {
|
|
|
@@ -154,7 +156,7 @@ function checkIn(cookie, body) {
|
|
|
magicJS.logger.error(msg);
|
|
|
reject(msg);
|
|
|
})
|
|
|
- })
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
Main();
|