mirror of
https://github.com/smallfawn/QLScriptPublic.git
synced 2026-01-16 15:50:44 +08:00
Compare commits
4 Commits
41bafc3562
...
9360acb49e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9360acb49e | ||
|
|
c542fd91b2 | ||
|
|
ad512729ea | ||
|
|
ca57772d6d |
@ -205,20 +205,17 @@ function Env(t, s) {
|
||||
}
|
||||
async sendMsg() {
|
||||
this.log("==============📣Center 通知📣==============")
|
||||
for (let item of this.notifyStr) {
|
||||
if (Object.prototype.toString.call(item) === '[object Object]') {
|
||||
item = JSON.stringify(item)
|
||||
}
|
||||
if (Object.prototype.toString.call(arg) === '[object Array]') {
|
||||
item = JSON.stringify(item)
|
||||
for (let i = 0; i < this.notifyStr.length; i++) {
|
||||
if (Object.prototype.toString.call(this.notifyStr[i]) === '[object Object]' ||
|
||||
Object.prototype.toString.call(this.notifyStr[i]) === '[object Array]') {
|
||||
this.notifyStr[i] = JSON.stringify(this.notifyStr[i]);
|
||||
}
|
||||
}
|
||||
|
||||
let message = this.notifyStr.join(this.logSeparator);
|
||||
if (this.isNode()) {
|
||||
|
||||
await notify.sendNotify(this.name, message);
|
||||
} else {
|
||||
|
||||
}
|
||||
}
|
||||
isNode() {
|
||||
@ -320,8 +317,8 @@ function Env(t, s) {
|
||||
wait(t) {
|
||||
return new Promise((s) => setTimeout(s, t));
|
||||
}
|
||||
done(t = {}) {
|
||||
this.sendMsg();
|
||||
async done(t = {}) {
|
||||
await this.sendMsg();
|
||||
const s = new Date().getTime(),
|
||||
e = (s - this.startTime) / 1e3;
|
||||
this.log(
|
||||
|
||||
@ -529,7 +529,7 @@ function _0x2fbb6b(_0x5a60f2) {
|
||||
const _0x3608c4 = {
|
||||
"notify": true
|
||||
};
|
||||
this.log("未找到变量,请检查变量" + _0x25b427.map(_0x357aa2 => "[" + _0x357aa2 + "]").join("或"), _0x3608c4);
|
||||
console.log("未找到变量,请检查变量" + _0x25b427.map(_0x357aa2 => "[" + _0x357aa2 + "]").join("或"), _0x3608c4);
|
||||
return false;
|
||||
}
|
||||
this.log("共找到" + this.userCount + "个账号");
|
||||
|
||||
@ -248,20 +248,17 @@ function Env(t, s) {
|
||||
}
|
||||
async sendMsg() {
|
||||
this.log("==============📣Center 通知📣==============")
|
||||
for (let item of this.notifyStr) {
|
||||
if (Object.prototype.toString.call(item) === '[object Object]') {
|
||||
item = JSON.stringify(item)
|
||||
}
|
||||
if (Object.prototype.toString.call(arg) === '[object Array]') {
|
||||
item = JSON.stringify(item)
|
||||
for (let i = 0; i < this.notifyStr.length; i++) {
|
||||
if (Object.prototype.toString.call(this.notifyStr[i]) === '[object Object]' ||
|
||||
Object.prototype.toString.call(this.notifyStr[i]) === '[object Array]') {
|
||||
this.notifyStr[i] = JSON.stringify(this.notifyStr[i]);
|
||||
}
|
||||
}
|
||||
|
||||
let message = this.notifyStr.join(this.logSeparator);
|
||||
if (this.isNode()) {
|
||||
|
||||
await notify.sendNotify(this.name, message);
|
||||
} else {
|
||||
|
||||
}
|
||||
}
|
||||
isNode() {
|
||||
@ -363,8 +360,8 @@ function Env(t, s) {
|
||||
wait(t) {
|
||||
return new Promise((s) => setTimeout(s, t));
|
||||
}
|
||||
done(t = {}) {
|
||||
this.sendMsg();
|
||||
async done(t = {}) {
|
||||
await this.sendMsg();
|
||||
const s = new Date().getTime(),
|
||||
e = (s - this.startTime) / 1e3;
|
||||
this.log(
|
||||
|
||||
17
wxapp/hdl.js
17
wxapp/hdl.js
@ -189,20 +189,17 @@ function Env(t, s) {
|
||||
}
|
||||
async sendMsg() {
|
||||
this.log("==============📣Center 通知📣==============")
|
||||
for (let item of this.notifyStr) {
|
||||
if (Object.prototype.toString.call(item) === '[object Object]') {
|
||||
item = JSON.stringify(item)
|
||||
}
|
||||
if (Object.prototype.toString.call(arg) === '[object Array]') {
|
||||
item = JSON.stringify(item)
|
||||
for (let i = 0; i < this.notifyStr.length; i++) {
|
||||
if (Object.prototype.toString.call(this.notifyStr[i]) === '[object Object]' ||
|
||||
Object.prototype.toString.call(this.notifyStr[i]) === '[object Array]') {
|
||||
this.notifyStr[i] = JSON.stringify(this.notifyStr[i]);
|
||||
}
|
||||
}
|
||||
|
||||
let message = this.notifyStr.join(this.logSeparator);
|
||||
if (this.isNode()) {
|
||||
|
||||
await notify.sendNotify(this.name, message);
|
||||
} else {
|
||||
|
||||
}
|
||||
}
|
||||
isNode() {
|
||||
@ -304,8 +301,8 @@ function Env(t, s) {
|
||||
wait(t) {
|
||||
return new Promise((s) => setTimeout(s, t));
|
||||
}
|
||||
done(t = {}) {
|
||||
this.sendMsg();
|
||||
async done(t = {}) {
|
||||
await this.sendMsg();
|
||||
const s = new Date().getTime(),
|
||||
e = (s - this.startTime) / 1e3;
|
||||
this.log(
|
||||
|
||||
@ -164,20 +164,17 @@ function Env(t, s) {
|
||||
}
|
||||
async sendMsg() {
|
||||
this.log("==============📣Center 通知📣==============")
|
||||
for (let item of this.notifyStr) {
|
||||
if (Object.prototype.toString.call(item) === '[object Object]') {
|
||||
item = JSON.stringify(item)
|
||||
}
|
||||
if (Object.prototype.toString.call(arg) === '[object Array]') {
|
||||
item = JSON.stringify(item)
|
||||
for (let i = 0; i < this.notifyStr.length; i++) {
|
||||
if (Object.prototype.toString.call(this.notifyStr[i]) === '[object Object]' ||
|
||||
Object.prototype.toString.call(this.notifyStr[i]) === '[object Array]') {
|
||||
this.notifyStr[i] = JSON.stringify(this.notifyStr[i]);
|
||||
}
|
||||
}
|
||||
|
||||
let message = this.notifyStr.join(this.logSeparator);
|
||||
if (this.isNode()) {
|
||||
|
||||
await notify.sendNotify(this.name, message);
|
||||
} else {
|
||||
|
||||
}
|
||||
}
|
||||
isNode() {
|
||||
@ -279,8 +276,8 @@ function Env(t, s) {
|
||||
wait(t) {
|
||||
return new Promise((s) => setTimeout(s, t));
|
||||
}
|
||||
done(t = {}) {
|
||||
this.sendMsg();
|
||||
async done(t = {}) {
|
||||
await this.sendMsg();
|
||||
const s = new Date().getTime(),
|
||||
e = (s - this.startTime) / 1e3;
|
||||
this.log(
|
||||
|
||||
@ -167,20 +167,17 @@ function Env(t, s) {
|
||||
}
|
||||
async sendMsg() {
|
||||
this.log("==============📣Center 通知📣==============")
|
||||
for (let item of this.notifyStr) {
|
||||
if (Object.prototype.toString.call(item) === '[object Object]') {
|
||||
item = JSON.stringify(item)
|
||||
}
|
||||
if (Object.prototype.toString.call(arg) === '[object Array]') {
|
||||
item = JSON.stringify(item)
|
||||
for (let i = 0; i < this.notifyStr.length; i++) {
|
||||
if (Object.prototype.toString.call(this.notifyStr[i]) === '[object Object]' ||
|
||||
Object.prototype.toString.call(this.notifyStr[i]) === '[object Array]') {
|
||||
this.notifyStr[i] = JSON.stringify(this.notifyStr[i]);
|
||||
}
|
||||
}
|
||||
|
||||
let message = this.notifyStr.join(this.logSeparator);
|
||||
if (this.isNode()) {
|
||||
|
||||
await notify.sendNotify(this.name, message);
|
||||
} else {
|
||||
|
||||
}
|
||||
}
|
||||
isNode() {
|
||||
@ -282,8 +279,8 @@ function Env(t, s) {
|
||||
wait(t) {
|
||||
return new Promise((s) => setTimeout(s, t));
|
||||
}
|
||||
done(t = {}) {
|
||||
this.sendMsg();
|
||||
async done(t = {}) {
|
||||
await this.sendMsg();
|
||||
const s = new Date().getTime(),
|
||||
e = (s - this.startTime) / 1e3;
|
||||
this.log(
|
||||
|
||||
@ -194,20 +194,17 @@ function Env(t, s) {
|
||||
}
|
||||
async sendMsg() {
|
||||
this.log("==============📣Center 通知📣==============")
|
||||
for (let item of this.notifyStr) {
|
||||
if (Object.prototype.toString.call(item) === '[object Object]') {
|
||||
item = JSON.stringify(item)
|
||||
}
|
||||
if (Object.prototype.toString.call(arg) === '[object Array]') {
|
||||
item = JSON.stringify(item)
|
||||
for (let i = 0; i < this.notifyStr.length; i++) {
|
||||
if (Object.prototype.toString.call(this.notifyStr[i]) === '[object Object]' ||
|
||||
Object.prototype.toString.call(this.notifyStr[i]) === '[object Array]') {
|
||||
this.notifyStr[i] = JSON.stringify(this.notifyStr[i]);
|
||||
}
|
||||
}
|
||||
|
||||
let message = this.notifyStr.join(this.logSeparator);
|
||||
if (this.isNode()) {
|
||||
|
||||
await notify.sendNotify(this.name, message);
|
||||
} else {
|
||||
|
||||
}
|
||||
}
|
||||
isNode() {
|
||||
@ -309,8 +306,8 @@ function Env(t, s) {
|
||||
wait(t) {
|
||||
return new Promise((s) => setTimeout(s, t));
|
||||
}
|
||||
done(t = {}) {
|
||||
this.sendMsg();
|
||||
async done(t = {}) {
|
||||
await this.sendMsg();
|
||||
const s = new Date().getTime(),
|
||||
e = (s - this.startTime) / 1e3;
|
||||
this.log(
|
||||
|
||||
17
蔚来.js
17
蔚来.js
@ -102,20 +102,17 @@ function Env(t, s) {
|
||||
}
|
||||
async sendMsg() {
|
||||
this.log("==============📣Center 通知📣==============")
|
||||
for (let item of this.notifyStr) {
|
||||
if (Object.prototype.toString.call(item) === '[object Object]') {
|
||||
item = JSON.stringify(item)
|
||||
}
|
||||
if (Object.prototype.toString.call(arg) === '[object Array]') {
|
||||
item = JSON.stringify(item)
|
||||
for (let i = 0; i < this.notifyStr.length; i++) {
|
||||
if (Object.prototype.toString.call(this.notifyStr[i]) === '[object Object]' ||
|
||||
Object.prototype.toString.call(this.notifyStr[i]) === '[object Array]') {
|
||||
this.notifyStr[i] = JSON.stringify(this.notifyStr[i]);
|
||||
}
|
||||
}
|
||||
|
||||
let message = this.notifyStr.join(this.logSeparator);
|
||||
if (this.isNode()) {
|
||||
|
||||
await notify.sendNotify(this.name, message);
|
||||
} else {
|
||||
|
||||
}
|
||||
}
|
||||
isNode() {
|
||||
@ -217,8 +214,8 @@ function Env(t, s) {
|
||||
wait(t) {
|
||||
return new Promise((s) => setTimeout(s, t));
|
||||
}
|
||||
done(t = {}) {
|
||||
this.sendMsg();
|
||||
async done(t = {}) {
|
||||
await this.sendMsg();
|
||||
const s = new Date().getTime(),
|
||||
e = (s - this.startTime) / 1e3;
|
||||
this.log(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user