From 66a0505f8b11c2274afc22ec13328750611f59a2 Mon Sep 17 00:00:00 2001 From: Ca11back <24651341+Ca11back@users.noreply.github.com> Date: Fri, 7 Jan 2022 13:12:40 +0800 Subject: [PATCH] Update jd_computer.js --- jd_computer.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jd_computer.js b/jd_computer.js index a2d72d88c..deddbf466 100644 --- a/jd_computer.js +++ b/jd_computer.js @@ -7,6 +7,7 @@ if (!["card","car"].includes(process.env.FS_LEVEL)) { export computer_activityId="16" 即时任务,无需cron +cron 0 0 * * * jd_computer.js */ const $ = new Env('电脑配件'); @@ -42,9 +43,9 @@ $.outFlag = 0 } if (!activityIdList) { $.log(`没有电脑配件ID,尝试获取远程`); - let data = await getData("https://raw.githubusercontent.com/Ca11back/scf-experiment/master/json/computer.json") + let data = await getData("https://raw.githubusercontent.com/Ca11back/scf-experiment/master/json/computer3.json") if (!data) { - data = await getData("https://raw.fastgit.org/Ca11back/scf-experiment/master/json/computer.json") + data = await getData("https://raw.fastgit.org/Ca11back/scf-experiment/master/json/computer3.json") } if (data && data.length) { $.log(`获取到远程且有数据`);