|
|
@@ -99,6 +99,7 @@ async function pushWxMsg(summary, content, url) {
|
|
|
// lk.getJsonDoneHeaders()
|
|
|
const headers = GCommonGandartHeads;
|
|
|
headers.Host = "wxpusher.zjiecode.com";
|
|
|
+ headers['Content-Type'] = 'application/json;charset=UTF-8';
|
|
|
let options = {
|
|
|
url: 'https://wxpusher.zjiecode.com/api/send/message',
|
|
|
headers: headers,
|
|
|
@@ -106,6 +107,7 @@ async function pushWxMsg(summary, content, url) {
|
|
|
};
|
|
|
lk.log("test3333333333333335")
|
|
|
lk.post(options, async (error, _response, rdata) => {
|
|
|
+ lk.log("test666666666666666666665")
|
|
|
if (!error) {
|
|
|
try {
|
|
|
let ret = JSON.parse(rdata);
|