From e1e88253880669993bc0202ce315d7d3ecbf0b79 Mon Sep 17 00:00:00 2001 From: guyuexuan <2651919937@qq.com> Date: Fri, 22 Jan 2021 21:24:25 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BA=AC=E5=96=9C=E5=86=9C=E5=9C=BA]=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E5=8A=A9=E5=8A=9B=E7=A0=81=20JSON=20?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E6=A3=80=E6=B5=8B=E9=94=99=E8=AF=AF=20?= =?UTF-8?q?=E5=8F=98=E6=9B=B4=20=E5=85=BC=E5=AE=B9=20ret=3D1032=20?= =?UTF-8?q?=E5=8A=A9=E5=8A=9B=20APP=20=E4=B8=93=E5=B1=9E=E7=A7=8D=E5=AD=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_jxnc.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/jd_jxnc.js b/jd_jxnc.js index adb19e69..ac545113 100644 --- a/jd_jxnc.js +++ b/jd_jxnc.js @@ -162,7 +162,8 @@ function requireConfig() { // 检查互助码是否为 json [smp,active,joinnum] 格式,否则进行通知 for (let i = 0; i < jxncShareCodeArr.length; i++) { if (jxncShareCodeArr[i]) { - let tmpjsonShareCodeArr = jxncShareCodeArr.splice('@'); + let tmpJxncShareStr = jxncShareCodeArr[i]; + let tmpjsonShareCodeArr = tmpJxncShareStr.split('@'); if (!changeShareCodeJson(tmpjsonShareCodeArr[0])) { $.log('互助码格式已变更,请重新填写互助码'); $.msg($.name, '互助码格式变更通知', '互助码格式变更,请重新填写 ‼️‼️', option); @@ -570,7 +571,8 @@ function helpShareCode(smp, active, joinnum) { // ret=1021 cannot help self 不能助力自己 // ret=1011 active 不同 // ret=1009 retmsg="today has help p2p" 今天已助力过 - if (ret === 0 || ret === 1009 || ret === 1021 || ret === 1011) { // 0 助力成功 + // ret=1032 retmsg="err operate env" 被助力者为 APP 专属种子,当前助力账号未配置 TOKEN + if (ret === 0 || ret === 1009 || ret === 1011 || ret === 1021 || ret === 1032) { resolve(true); return; }