From f43ac7ebf3dbff4893fde1848790dbd2117d9f97 Mon Sep 17 00:00:00 2001 From: LXK9301 <72646373+LXK9301@users.noreply.github.com> Date: Tue, 19 Jan 2021 20:25:17 +0800 Subject: [PATCH] Update jd_dreamFactory.js --- jd_dreamFactory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jd_dreamFactory.js b/jd_dreamFactory.js index aae57c17..df28553f 100644 --- a/jd_dreamFactory.js +++ b/jd_dreamFactory.js @@ -1,6 +1,6 @@ /* 京东京喜工厂 -更新时间:2021-1-17 +更新时间:2021-1-19 活动入口 :京东APP->游戏与互动->查看更多->京喜工厂 或者: 京东APP首页搜索 "玩一玩" ,造物工厂即可 @@ -894,7 +894,7 @@ async function tuanActivity() { const QueryTuanRes = await QueryTuan(activeId, tuanId); if (QueryTuanRes && QueryTuanRes.ret === 0) { const { tuanInfo } = QueryTuanRes.data; - if ((tuanInfo && tuanInfo[0]['endTime']) <= QueryTuanRes['nowTime']) { + if ((tuanInfo && tuanInfo[0]['endTime']) <= QueryTuanRes['nowTime'] && surplusOpenTuanNum > 0) { $.log(`之前的团已过期,准备重新开团\n`) await CreateTuan(); }