Skip to content

Commit

Permalink
Merge pull request #275 from linyongfu2013/main
Browse files Browse the repository at this point in the history
  • Loading branch information
Faker authored Jan 13, 2022
2 parents 1f86b84 + 65819b4 commit cae7e35
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jd_health.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ const JD_API_HOST = "https://api.m.jd.com/";

async function main() {
try {
if (reward) {
await getCommodities()
}

$.score = 0
$.earn = false
await getTaskDetail(-1)
Expand All @@ -100,10 +104,6 @@ async function main() {
await getTaskDetail(22);
await getTaskDetail(-1)

if (reward) {
await getCommodities()
}

} catch (e) {
$.logErr(e)
}
Expand Down

0 comments on commit cae7e35

Please sign in to comment.