全民抢京豆。多账号内部互助。如果有多余机会则给lxk0301作者助力

This commit is contained in:
lxk0301
2021-05-14 20:30:36 +08:00
parent 3f94d7b2d3
commit 573fdc5045

View File

@ -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)