sendNotify.js update
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
* @Author: lxk0301 https://gitee.com/lxk0301
|
* @Author: lxk0301 https://gitee.com/lxk0301
|
||||||
* @Date: 2020-08-19 16:12:40
|
* @Date: 2020-08-19 16:12:40
|
||||||
* @Last Modified by: lxk0301
|
* @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 querystring = require("querystring");
|
||||||
const $ = new Env();
|
const $ = new Env();
|
||||||
@ -128,7 +128,7 @@ if (process.env.PUSH_PLUS_USER) {
|
|||||||
|
|
||||||
async function sendNotify(text, desp, params = {}) {
|
async function sendNotify(text, desp, params = {}) {
|
||||||
//提供6种通知
|
//提供6种通知
|
||||||
desp += `\n本脚本开源免费使用 By:https://gitee.com/lxk0301/jd_docker`;
|
desp += `\n\n本脚本开源免费使用 By:https://gitee.com/lxk0301/jd_docker`;
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
serverNotify(text, desp),//微信server酱
|
serverNotify(text, desp),//微信server酱
|
||||||
pushPlusNotify(text, desp)//pushplus(推送加)
|
pushPlusNotify(text, desp)//pushplus(推送加)
|
||||||
|
Reference in New Issue
Block a user