mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2025-12-17 15:25:10 +08:00
修复通知
This commit is contained in:
@@ -22,7 +22,7 @@ const $ = new Env("安慕希小程序");
|
||||
let ckName = `anmuxi`;
|
||||
const strSplitor = "#";
|
||||
const envSplitor = ["&", "\n"];
|
||||
const notify = $.isNode() ? require("./sendNotify") : "";
|
||||
const notify = $.isNode() ? require("../sendNotify") : "";
|
||||
const axios = require("axios");
|
||||
const defaultUserAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.31(0x18001e31) NetType/WIFI Language/zh_CN miniProgram"
|
||||
|
||||
|
||||
@@ -557,7 +557,7 @@ function _0x2fbb6b(_0x5a60f2) {
|
||||
{
|
||||
if (!this.notifyFlag) return;
|
||||
if (!this.notifyStr.length) return;
|
||||
var _0x29aa8f = require("./sendNotify");
|
||||
var _0x29aa8f = require("../sendNotify");
|
||||
this.log("\n============== 推送 ==============");
|
||||
await _0x29aa8f.sendNotify(this.name, this.notifyStr.join("\n"));
|
||||
}
|
||||
|
||||
@@ -20,8 +20,7 @@ const $ = new Env("巴奴毛肚小程序");
|
||||
let ckName = `testA`;
|
||||
const strSplitor = "#";
|
||||
const envSplitor = ["&", "\n"];
|
||||
process.env[ckName] = "testA#testB&testC#testD"
|
||||
const notify = $.isNode() ? require("./sendNotify") : "";
|
||||
const notify = $.isNode() ? require("../sendNotify") : "";
|
||||
const axios = require("axios");
|
||||
const defaultUserAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.31(0x18001e31) NetType/WIFI Language/zh_CN miniProgram"
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ const $ = new Env("康师傅");
|
||||
let ckName = `wxkangshifuwxid`;
|
||||
const strSplitor = "#";
|
||||
const envSplitor = ["&", "\n"];
|
||||
const notify = $.isNode() ? require("./sendNotify") : "";
|
||||
const notify = $.isNode() ? require("../sendNotify") : "";
|
||||
const axios = require("axios");
|
||||
const defaultUserAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.31(0x18001e31) NetType/WIFI Language/zh_CN miniProgram"
|
||||
let luflytoken = process.env.luflytoken || ""
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
*/
|
||||
|
||||
const $ = new Env("微信小程序_骁龙骁友会");
|
||||
const notify = $.isNode() ? require('./sendNotify') : '';
|
||||
const notify = $.isNode() ? require('../sendNotify') : '';
|
||||
let ckName = "wx_xlxyh";
|
||||
let envSplitor = ["&", "\n"]; //多账号分隔符
|
||||
let strSplitor = "#"; //多变量分隔符
|
||||
|
||||
@@ -21,7 +21,7 @@ const $ = new Env("可口可乐吧");
|
||||
let ckName = `kekoukeleba`;
|
||||
const strSplitor = "#";
|
||||
const envSplitor = ["&", "\n"];
|
||||
const notify = $.isNode() ? require("./sendNotify") : "";
|
||||
const notify = $.isNode() ? require("../sendNotify") : "";
|
||||
const axios = require("axios");
|
||||
const defaultUserAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.31(0x18001e31) NetType/WIFI Language/zh_CN miniProgram"
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ const $ = new Env("杰士邦会员中心");
|
||||
let ckName = `jieshibang`;
|
||||
const strSplitor = "#";
|
||||
const envSplitor = ["&", "\n"];
|
||||
const notify = $.isNode() ? require("./sendNotify") : "";
|
||||
const notify = $.isNode() ? require("../sendNotify") : "";
|
||||
const axios = require("axios");
|
||||
const defaultUserAgent = "Mozilla/5.0 (iPhone; CPU iPhone OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.31(0x18001e31) NetType/WIFI Language/zh_CN miniProgram"
|
||||
|
||||
|
||||
@@ -352,7 +352,7 @@ function _0x14a79b(_0x4038d3, _0x4c648e) {
|
||||
let _0x3d3a83 = this.name + " 运行通知\n\n" + this.notifyStr;
|
||||
if (_0x3065e9.isNode()) {
|
||||
{
|
||||
var _0x3a245e = require("./sendNotify");
|
||||
var _0x3a245e = require("../sendNotify");
|
||||
console.log("\n============== 推送 ==============");
|
||||
await _0x3a245e.sendNotify(this.name, _0x3d3a83);
|
||||
}
|
||||
|
||||
@@ -433,7 +433,7 @@ function Env(_0x145f6d, _0x2ad434) {
|
||||
if (!this.notifyStr) return;
|
||||
let _0x49b71e = this.name + " 运行通知\n\n" + this.notifyStr;
|
||||
if ($.isNode()) {
|
||||
var _0x15c32f = require("./sendNotify");
|
||||
var _0x15c32f = require("../sendNotify");
|
||||
console.log("\n============== 推送 ==============");
|
||||
await _0x15c32f.sendNotify(this.name, _0x49b71e);
|
||||
} else this.msg(_0x49b71e);
|
||||
|
||||
@@ -387,7 +387,7 @@ function Env(_0x513ce9, _0x3f5b80) {
|
||||
if (!this.notifyStr) return;
|
||||
let _0x44fa77 = this.name + " 运行通知\n\n" + this.notifyStr;
|
||||
if ($.isNode()) {
|
||||
var _0x2a2ac8 = require("./sendNotify");
|
||||
var _0x2a2ac8 = require("../sendNotify");
|
||||
console.log("\n============== 推送 ==============");
|
||||
await _0x2a2ac8.sendNotify(this.name, _0x44fa77);
|
||||
} else this.msg(_0x44fa77);
|
||||
|
||||
Reference in New Issue
Block a user