fix
This commit is contained in:
@@ -120,6 +120,7 @@ async function main() {
|
|||||||
await showMsg()
|
await showMsg()
|
||||||
}
|
}
|
||||||
async function JD818() {
|
async function JD818() {
|
||||||
|
try {
|
||||||
await getHelp();
|
await getHelp();
|
||||||
await listGoods();//逛新品
|
await listGoods();//逛新品
|
||||||
await shopInfo();//逛店铺
|
await shopInfo();//逛店铺
|
||||||
@@ -135,6 +136,9 @@ async function JD818() {
|
|||||||
await getListRank();
|
await getListRank();
|
||||||
await getListIntegral();
|
await getListIntegral();
|
||||||
await showMsg()
|
await showMsg()
|
||||||
|
} catch (e) {
|
||||||
|
$.logErr(e)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
function listMeeting() {
|
function listMeeting() {
|
||||||
const options = {
|
const options = {
|
||||||
@@ -590,7 +594,7 @@ async function doHelp() {
|
|||||||
//当天大于9:00才从API里面取收集的助力码
|
//当天大于9:00才从API里面取收集的助力码
|
||||||
//if (nowTime > new Date(nowTime).setHours(9, 0, 0, 0)) body = await printAPI();//访问收集的互助码
|
//if (nowTime > new Date(nowTime).setHours(9, 0, 0, 0)) body = await printAPI();//访问收集的互助码
|
||||||
body = await printAPI();//访问收集的互助码
|
body = await printAPI();//访问收集的互助码
|
||||||
if (body) {
|
if (body && body['data']) {
|
||||||
// console.log(`printAPI返回助力码数量:${body.replace(/"/g, '').split(',').length}`)
|
// console.log(`printAPI返回助力码数量:${body.replace(/"/g, '').split(',').length}`)
|
||||||
// tempCode = tempCode.concat(body.replace(/"/g, '').split(','))
|
// tempCode = tempCode.concat(body.replace(/"/g, '').split(','))
|
||||||
tempCode = [...tempCode, ...body['data']]
|
tempCode = [...tempCode, ...body['data']]
|
||||||
|
Reference in New Issue
Block a user