This commit is contained in:
Faker 2022-04-14 15:37:53 +08:00
parent 7a7fe4bf63
commit b0d285bfe7
2 changed files with 39 additions and 59 deletions

View File

@ -68,12 +68,11 @@ if (UidFileexists) {
cookie = cookiesArr[i];
var tempptpin = decodeURIComponent(cookie.match(/pt_pin=([^; ]+)(?=;?)/) && cookie.match(/pt_pin=([^; ]+)(?=;?)/)[1]);
var intSeq = inArray(tempptpin, arrEnvPtPin);
if (intSeq != -1) {
intSeq += 1;
if (intSeq != -1) {
arrCkPtPin.push(tempptpin);
strCk += "【"+intSeq + "】" + tempptpin ;
if (arrEnvOnebyOne[i]) {
strCk += "(账号已启用一对一推送)"
strCk += "【"+(intSeq+1) + "】" + tempptpin ;
if (arrEnvOnebyOne[intSeq]) {
strCk += "(已启用一对一推送)"
}
strCk +="\n";
}
@ -86,14 +85,14 @@ if (UidFileexists) {
if (intSeq == -1) {
strNoFoundCk += "【" + (i + 1) + "】" + tempptpin;
if (arrEnvStatus[i] == 1) {
strNoFoundCk += "(状态已禁用)"
strNoFoundCk += "(已禁用)"
if ($.isNode() && WP_APP_TOKEN_ONE) {
await notify.sendNotifybyWxPucher("账号下线通知", strNotify, tempptpin);
await $.wait(1000);
}
}
if (arrEnvOnebyOne[i]) {
strNoFoundCk += "(账号已启用一对一推送)"
strNoFoundCk += "(已启用一对一推送)"
}
strNoFoundCk += "\n";
@ -118,7 +117,7 @@ if (UidFileexists) {
function inArray(search, array) {
var lnSeq = -1;
for (var i in array) {
for (let i = 0; i < array.length; i++) {
if (array[i] == search) {
lnSeq = i;
}
@ -126,6 +125,7 @@ function inArray(search, array) {
return parseInt(lnSeq);
}
function getuuid(strRemark, PtPin) {
var strTempuuid = "";
if (strRemark) {

File diff suppressed because one or more lines are too long