diff --git a/src/index.js b/src/index.js
index 422e862..0224876 100644
--- a/src/index.js
+++ b/src/index.js
@@ -36,9 +36,9 @@ const nodemailer = require("nodemailer");
var header = makeHeader(configs[key], appversion);
var WalletRespond = await Wallet(header);
addLogContent(`${key} Wallet返回体
${JSON.stringify(WalletRespond)}
`);
- var NotificationRespond = await ListNotification(header);
- addLogContent(`${key} Notification返回体
${JSON.stringify(NotificationRespond)}
`);
if(WalletRespond.data != null) {
+ var NotificationRespond = await ListNotification(header);
+ addLogContent(`${key} Notification返回体
${JSON.stringify(NotificationRespond)}
`);
successNum ++;
log.info(`签到完毕! 剩余时长:${WalletRespond.data.free_time.free_time}分钟`)
let NotificationLength = NotificationRespond.data.list.length