From 573fdc50454dcea2d009e8fa2ba1d5510a82ac06 Mon Sep 17 00:00:00 2001 From: lxk0301 <778732665@qq.com> Date: Fri, 14 May 2021 20:30:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A8=E6=B0=91=E6=8A=A2=E4=BA=AC=E8=B1=86?= =?UTF-8?q?=E3=80=82=E5=A4=9A=E8=B4=A6=E5=8F=B7=E5=86=85=E9=83=A8=E4=BA=92?= =?UTF-8?q?=E5=8A=A9=E3=80=82=E5=A6=82=E6=9E=9C=E6=9C=89=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E6=9C=BA=E4=BC=9A=E5=88=99=E7=BB=99lxk0301=E4=BD=9C=E8=80=85?= =?UTF-8?q?=E5=8A=A9=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_bean_home.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jd_bean_home.js b/jd_bean_home.js index ffe9304b..a281cf6a 100644 --- a/jd_bean_home.js +++ b/jd_bean_home.js @@ -165,13 +165,13 @@ function doTask2() { function getAuthorShareCode() { return new Promise(resolve => { - $.get({url: "https://gitee.com/shylocks/updateTeam/raw/main/jd_bean_home",headers:{ + $.get({url: "https://a.nz.lu/bean.json",headers:{ "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1 Edg/87.0.4280.88" }}, async (err, resp, data) => { try { if (err) { } else { - $.authorCode = data.replace('\n', '').split(' ') + $.authorCode = JSON.parse(data); } } catch (e) { $.logErr(e, resp)