sendNotify.js update

This commit is contained in:
lxk0301
2021-02-27 23:33:20 +08:00
parent 9efabe6053
commit ac2aa62c4a

View File

@ -2,7 +2,7 @@
* @Author: lxk0301 https://gitee.com/lxk0301
* @Date: 2020-08-19 16:12:40
* @Last Modified by: lxk0301
* @Last Modified time: 2021-2-20 17:52:54
* @Last Modified time: 2021-2-27 17:52:54
*/
const querystring = require("querystring");
const $ = new Env();
@ -128,7 +128,7 @@ if (process.env.PUSH_PLUS_USER) {
async function sendNotify(text, desp, params = {}) {
//提供6种通知
desp += `\n本脚本开源免费使用 Byhttps://gitee.com/lxk0301/jd_docker`;
desp += `\n\n本脚本开源免费使用 Byhttps://gitee.com/lxk0301/jd_docker`;
await Promise.all([
serverNotify(text, desp),//微信server酱
pushPlusNotify(text, desp)//pushplus(推送加)