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