From a335383c1329287caa3347394e3cb635d531bb4f Mon Sep 17 00:00:00 2001 From: smallfawn <101914820+smallfawn@users.noreply.github.com> Date: Fri, 14 Jul 2023 09:33:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8F=8F=E8=BF=B0=20?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9C=80=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sendNotify.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sendNotify.js b/sendNotify.js index fbc450d..f71c15c 100644 --- a/sendNotify.js +++ b/sendNotify.js @@ -8,6 +8,8 @@ * @param desp 通知体 * @param params 某些推送通知方式点击弹窗可跳转, 例:{ url: 'https://abc.com' } * @param author 作者仓库等信息 例:`本通知 By:https://github.com/whyour/qinglong` + * @魔改:smallfawn https://github.com/smallfawn/QLScriptPublic 参考:ccwav https://github.com/ccwav/QLScript2 + * @魔改位置 sendNotify函数 黑白名单模式 */ const querystring = require('querystring'); @@ -292,6 +294,8 @@ if (process.env.SMTP_NAME) { /** * sendNotify 推送通知功能 + * 魔改:smallfawn https://github.com/smallfawn 增加黑白名单模式 + * 变量值 smallfawnPushWhite白名单 smallfawnPushBlack黑名单 不写默认通知 黑白名单二选一 * @param text 通知头 * @param desp 通知体 * @param params 某些推送通知方式点击弹窗可跳转, 例:{ url: 'https://abc.com' }