Compare commits
2 Commits
d03b0c56bd
...
4c74a34d9d
Author | SHA1 | Date | |
---|---|---|---|
4c74a34d9d | |||
7f72624a3f |
@ -35,10 +35,10 @@ const nodemailer = require("nodemailer");
|
||||
log.info("尝试签到……")
|
||||
var header = makeHeader(configs[key], appversion);
|
||||
var WalletRespond = await Wallet(header);
|
||||
addLogContent(`<span style="color: orange">${key} Wallet返回体 <br> ${JSON.stringify(WalletRespond)}</span><br>`);
|
||||
var NotificationRespond = await ListNotification(header);
|
||||
addLogContent(`<span style="color: orange">${key} Notification返回体 <br> ${JSON.stringify(NotificationRespond)}</span><br>`);
|
||||
addLogContent(`<span style="color: orange; font-weight: bold">${key} Wallet返回体</span> <br> <span style="color: orange">${JSON.stringify(WalletRespond)}</span><br>`);
|
||||
if(WalletRespond.data != null) {
|
||||
var NotificationRespond = await ListNotification(header);
|
||||
addLogContent(`<span style="color: orange; font-weight: bold">${key} Notification返回体</span> <br> <span style="color: orange">${JSON.stringify(NotificationRespond)}</span><br>`);
|
||||
successNum ++;
|
||||
log.info(`签到完毕! 剩余时长:${WalletRespond.data.free_time.free_time}分钟`)
|
||||
let NotificationLength = NotificationRespond.data.list.length
|
||||
|
Loading…
x
Reference in New Issue
Block a user