This commit is contained in:
2024 2025-07-08 21:35:44 +08:00
parent 7ff1b50b82
commit a7a6773d51
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -199,7 +199,7 @@ let isLogin = false;
if (process.env.NOTIFY_SHOWNAMETYPE) { if (process.env.NOTIFY_SHOWNAMETYPE) {
ShowRemarkType = process.env.NOTIFY_SHOWNAMETYPE; ShowRemarkType = process.env.NOTIFY_SHOWNAMETYPE;
} }
async function sendNotify(text, desp, params = {}, author = "\n================================\n好物推荐https://u.jd.com/WLEVYTM",strsummary="") { async function sendNotify(text, desp, params = {}, author = "",strsummary="") {
console.log(`开始发送通知...`); console.log(`开始发送通知...`);
//NOTIFY_FILTERBYFILE代码来自Ca11back. //NOTIFY_FILTERBYFILE代码来自Ca11back.
@ -429,7 +429,7 @@ async function sendNotify(text, desp, params = {}, author = "\n=================
} }
} }
if (strtext.indexOf("cookie已失效") != -1 || strdesp.indexOf("重新登录获取") != -1 || strtext == "Ninja 运行通知") { if (strtext.indexOf("已失效") != -1 || strdesp.indexOf("重新") != -1 || strtext == "Ninja 运行通知") {
if (Notify_NoCKFalse == "true" && text != "Ninja 运行通知") { if (Notify_NoCKFalse == "true" && text != "Ninja 运行通知") {
console.log(`检测到NOTIFY_NOCKFALSE变量为true,不发送ck失效通知...`); console.log(`检测到NOTIFY_NOCKFALSE变量为true,不发送ck失效通知...`);
return; return;
@ -1003,7 +1003,7 @@ function getRemark(strRemark) {
} }
} }
async function sendNotifybyWxPucher(text, desp, PtPin, author = '\n================================\n好物推荐<a href="https://u.jd.com/WLEVYTM">https://u.jd.com/WLEVYTM</a>', strsummary = "") { async function sendNotifybyWxPucher(text, desp, PtPin, author = '', strsummary = "") {
try { try {
var Uid = ""; var Uid = "";