From 52c34420022e234442fe7adffc561795fdc5201a Mon Sep 17 00:00:00 2001 From: lxk0301 <778732665@qq.com> Date: Mon, 8 Feb 2021 09:30:24 +0800 Subject: [PATCH] =?UTF-8?q?jd=5FdreamFactory.js=20=E6=9C=AA=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=95=86=E5=93=81=E6=97=B6=E3=80=82=E5=8F=AA=E6=8F=90?= =?UTF-8?q?=E9=86=92=E4=B8=80=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_dreamFactory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jd_dreamFactory.js b/jd_dreamFactory.js index 11ea4bce..fefee1bc 100644 --- a/jd_dreamFactory.js +++ b/jd_dreamFactory.js @@ -590,7 +590,7 @@ function userInfo() { } else if (data.factoryList && !data.productionList) { console.log(`【提示】京东账号${$.index}[${$.nickName}]京喜工厂未选购商品\n请手动去京东APP->游戏与互动->查看更多->京喜工厂 选购\n`) let nowTimes = new Date(new Date().getTime() + new Date().getTimezoneOffset()*60*1000 + 8*60*60*1000); - if (nowTimes.getHours() % 12 === 0) { + if (nowTimes.getHours() === 12) { //如按每小时运行一次,则此处将一天推送2次提醒 $.msg($.name, '提醒⏰', `京东账号${$.index}[${$.nickName}]京喜工厂未选择商品\n请手动去京东APP->游戏与互动->查看更多->京喜工厂 选择商品`); if ($.isNode()) await notify.sendNotify(`${$.name} - 京东账号${$.index} - ${$.nickName}`, `京东账号${$.index}[${$.nickName}]京喜工厂未选择商品\n请手动去京东APP->游戏与互动->查看更多->京喜工厂 选择商品`)