This commit is contained in:
smallfawn
2025-01-25 16:21:48 +08:00
parent 3b904280dd
commit 8cbf0a2ca9
4 changed files with 568 additions and 1668 deletions

File diff suppressed because one or more lines are too long

View File

@@ -8,7 +8,7 @@
*/ */
const $ = new Env("wx_庙友之家"); const $ = new Env("wx_庙友之家");
const notify = $.isNode() ? require('./sendNotify') : ''; const notify = $.isNode() ? require('../sendNotify') : '';
let ckName = "miaoyouHome"; let ckName = "miaoyouHome";
let envSplitor = ["@", "\n"]; //多账号分隔符 let envSplitor = ["@", "\n"]; //多账号分隔符
let strSplitor = "&"; //多变量分隔符 let strSplitor = "&"; //多变量分隔符

View File

@@ -26,7 +26,7 @@ hostname =
const $ = new Env("微信小程序泡泡玛特"); const $ = new Env("微信小程序泡泡玛特");
let ckName = `paopaomate` let ckName = `paopaomate`
let userCookie = checkEnv($.isNode() ? process.env[ckName] : ""); let userCookie = checkEnv($.isNode() ? process.env[ckName] : "");
const notify = $.isNode() ? require("./sendNotify") : ""; const notify = $.isNode() ? require("../sendNotify") : "";

View File

@@ -981,7 +981,7 @@ async function SendMsg(message) {
if (Notify > 0) { if (Notify > 0) {
if ($.isNode()) { if ($.isNode()) {
var notify = require('./sendNotify'); var notify = require('../sendNotify');
await notify.sendNotify($.name, message); await notify.sendNotify($.name, message);
} else { } else {
$.msg(message); $.msg(message);