improve log style

This commit is contained in:
Zichao Lin 2023-08-29 08:33:09 +08:00
parent d03b0c56bd
commit 7f72624a3f
Signed by: earthjasonlin
GPG Key ID: 406D9913DE2E42FB

@ -35,9 +35,9 @@ const nodemailer = require("nodemailer");
log.info("尝试签到……") log.info("尝试签到……")
var header = makeHeader(configs[key], appversion); var header = makeHeader(configs[key], appversion);
var WalletRespond = await Wallet(header); var WalletRespond = await Wallet(header);
addLogContent(`<span style="color: orange">${key} Wallet返回体 <br> ${JSON.stringify(WalletRespond)}</span><br>`); addLogContent(`<span style="color: orange; font-weight: bold">${key} Wallet返回体</span> <br> <span style="color: orange">${JSON.stringify(WalletRespond)}</span><br>`);
var NotificationRespond = await ListNotification(header); 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} Notification返回体</span> <br> <span style="color: orange">${JSON.stringify(NotificationRespond)}</span><br>`);
if(WalletRespond.data != null) { if(WalletRespond.data != null) {
successNum ++; successNum ++;
log.info(`签到完毕! 剩余时长:${WalletRespond.data.free_time.free_time}分钟`) log.info(`签到完毕! 剩余时长:${WalletRespond.data.free_time.free_time}分钟`)