This commit is contained in:
Faker 2023-12-11 14:54:54 +08:00
parent 28b3a2de94
commit 7b47bdc34a
2 changed files with 1958 additions and 1951 deletions

File diff suppressed because one or more lines are too long

View File

@ -704,7 +704,11 @@ async function showMsg() {
allMessageMonth += ReturnMessageMonth + `\n`; allMessageMonth += ReturnMessageMonth + `\n`;
} }
if ($.isNode() && WP_APP_TOKEN_ONE) { if ($.isNode() && WP_APP_TOKEN_ONE) {
try {
await notify.sendNotifybyWxPucher("京东月资产统计", `${ReturnMessageMonth}`, `${$.UserName}`); await notify.sendNotifybyWxPucher("京东月资产统计", `${ReturnMessageMonth}`, `${$.UserName}`);
} catch {
$.log(`一对一推送异常请拷贝库里的sendnotify.js文件到deps目录下在拉库重试\n`);
}
} }
} }
@ -750,7 +754,7 @@ async function showMsg() {
ReturnMessage += `【特价金币】${$.JDtotalcash}币(≈${($.JDtotalcash / 10000).toFixed(2)}元)\n`; ReturnMessage += `【特价金币】${$.JDtotalcash}币(≈${($.JDtotalcash / 10000).toFixed(2)}元)\n`;
} }
if ($.ECardinfo) if ($.ECardinfo)
ReturnMessage += `【E卡 余额】${$.ECardinfo}\n`; ReturnMessage += `【礼品卡额】${$.ECardinfo}\n`;
if ($.JoyRunningAmount) if ($.JoyRunningAmount)
ReturnMessage += `【汪汪赛跑】${$.JoyRunningAmount}\n`; ReturnMessage += `【汪汪赛跑】${$.JoyRunningAmount}\n`;
@ -900,8 +904,11 @@ async function showMsg() {
if (strAllNotify) if (strAllNotify)
ReturnMessage = strAllNotify + `\n` + ReturnMessage; ReturnMessage = strAllNotify + `\n` + ReturnMessage;
try {
await notify.sendNotifybyWxPucher(strTitle, `${ReturnMessage}`, `${$.UserName}`, undefined, strsummary); await notify.sendNotifybyWxPucher(strTitle, `${ReturnMessage}`, `${$.UserName}`, undefined, strsummary);
} catch {
$.log(`一对一推送异常请拷贝库里的sendnotify.js文件到deps目录下在拉库重试\n`);
}
} }
//$.msg($.name, '', ReturnMessage , {"open-url": "https://bean.m.jd.com/beanDetail/index.action?resourceValue=bean"}); //$.msg($.name, '', ReturnMessage , {"open-url": "https://bean.m.jd.com/beanDetail/index.action?resourceValue=bean"});