增加描述 更新最新版本

This commit is contained in:
smallfawn 2023-07-14 09:33:32 +08:00 committed by GitHub
parent 1440fa0a92
commit a335383c13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,6 +8,8 @@
* @param desp 通知体 * @param desp 通知体
* @param params 某些推送通知方式点击弹窗可跳转, { url: 'https://abc.com' } * @param params 某些推送通知方式点击弹窗可跳转, { url: 'https://abc.com' }
* @param author 作者仓库等信息 `本通知 Byhttps://github.com/whyour/qinglong` * @param author 作者仓库等信息 `本通知 Byhttps://github.com/whyour/qinglong`
* @魔改smallfawn https://github.com/smallfawn/QLScriptPublic 参考ccwav https://github.com/ccwav/QLScript2
* @魔改位置 sendNotify函数 黑白名单模式
*/ */
const querystring = require('querystring'); const querystring = require('querystring');
@ -292,6 +294,8 @@ if (process.env.SMTP_NAME) {
/** /**
* sendNotify 推送通知功能 * sendNotify 推送通知功能
* 魔改smallfawn https://github.com/smallfawn 增加黑白名单模式
* 变量值 smallfawnPushWhite白名单 smallfawnPushBlack黑名单 不写默认通知 黑白名单二选一
* @param text 通知头 * @param text 通知头
* @param desp 通知体 * @param desp 通知体
* @param params 某些推送通知方式点击弹窗可跳转, { url: 'https://abc.com' } * @param params 某些推送通知方式点击弹窗可跳转, { url: 'https://abc.com' }