|
|
@@ -383,6 +383,7 @@ async function checkAutoStartMonitorTask(configData) {
|
|
|
}
|
|
|
if (msgTipsText.length > 0) {
|
|
|
magicJS.notification.appendNotifyInfo(msgTipsText);
|
|
|
+ await doCustomWxpusherSend(`小芒嫩模助手监控任务开启`, msgTipsText, 'https://mo.10coo.com/');
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -919,7 +920,7 @@ function expireDateFormat(date) {
|
|
|
async function checkExistOrderNoPay() {
|
|
|
let retOrderList = await queryToBePaidStatusOrderList();
|
|
|
if (retOrderList && retOrderList.code == 0) {
|
|
|
- let msgText = '';
|
|
|
+ let msgTipsText = '';
|
|
|
let nopayCount = 0;
|
|
|
let orderList = retOrderList.data;
|
|
|
for (let i = 0; i < orderList.length; i++) {
|
|
|
@@ -933,15 +934,15 @@ async function checkExistOrderNoPay() {
|
|
|
let priceStr = `¥${d.amount}`;
|
|
|
let payStatus = await doPayResultCheck(orderId);
|
|
|
if (payStatus) {
|
|
|
- msgText += `账号[${xmAccount}](${alias})下单的${goodsStr}(${priceStr})已付款,无需处理\n`;
|
|
|
+ msgTipsText += `账号[${xmAccount}](${alias})下单的${goodsStr}(${priceStr})已付款,无需处理\n`;
|
|
|
} else {
|
|
|
- msgText += `账号[${xmAccount}](${alias})下单的${goodsStr}(${priceStr})未付款,请尽快去付款!过期时间:${expireStr}\n`;
|
|
|
+ msgTipsText += `账号[${xmAccount}](${alias})下单的${goodsStr}(${priceStr})未付款,请尽快去付款!过期时间:${expireStr}\n`;
|
|
|
nopayCount += 1;
|
|
|
}
|
|
|
}
|
|
|
- magicJS.logger.info(msgText);
|
|
|
+ magicJS.logger.info(msgTipsText);
|
|
|
if (nopayCount > 0) {
|
|
|
- await doCustomWxpusherSend(`存在待付订单(${nopayCount})`, msgText);
|
|
|
+ await doCustomWxpusherSend(`存在待付订单(${nopayCount})`, msgTipsText, 'https://mo.10coo.com/');
|
|
|
}
|
|
|
}
|
|
|
}
|