pushplus通知已更新最新。详见请 https://gitee.com/lxk0301/jd_docker/issues/I3AOGW
This commit is contained in:
@@ -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-3-10 11:52:54
|
||||
* @Last Modified time: 2021-3-12 11:52:54
|
||||
*/
|
||||
const querystring = require("querystring");
|
||||
const $ = new Env();
|
||||
@@ -56,7 +56,7 @@ let QYWX_AM = '';
|
||||
let IGOT_PUSH_KEY = '';
|
||||
|
||||
// =======================================push+设置区域=======================================
|
||||
//官方文档:https://pushplus.hxtrip.com/
|
||||
//官方文档:http://www.pushplus.plus/
|
||||
//PUSH_PLUS_TOKEN:微信扫码登录后一对一推送或一对多推送下面的token(您的Token),不提供PUSH_PLUS_USER则默认为一对一推送
|
||||
//PUSH_PLUS_USER: 一对多推送的“群组编码”(一对多推送下面->您的群组(如无则新建)->群组编码,如果您是创建群组人。也需点击“查看二维码”扫描绑定,否则不能接受群组消息推送)
|
||||
let PUSH_PLUS_TOKEN = '';
|
||||
@@ -639,7 +639,7 @@ function pushPlusNotify(text, desp) {
|
||||
topic: `${PUSH_PLUS_USER}`
|
||||
};
|
||||
const options = {
|
||||
url: `https://pushplus.hxtrip.com/send`,
|
||||
url: `http://www.pushplus.plus/send`,
|
||||
body: JSON.stringify(body),
|
||||
headers: {
|
||||
'Content-Type': ' application/json'
|
||||
|
Reference in New Issue
Block a user