mirror of
https://github.com/6dylan6/jdpro.git
synced 2025-12-14 04:30:42 +00:00
1
This commit is contained in:
parent
7ff1b50b82
commit
a7a6773d51
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -199,7 +199,7 @@ let isLogin = false;
|
||||
if (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(`开始发送通知...`);
|
||||
|
||||
//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 运行通知") {
|
||||
console.log(`检测到NOTIFY_NOCKFALSE变量为true,不发送ck失效通知...`);
|
||||
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 {
|
||||
var Uid = "";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user