From 1adb277fba15f870f25abd028149f6a37ce6f2e4 Mon Sep 17 00:00:00 2001 From: lxk0301 <778732665@qq.com> Date: Mon, 11 Jan 2021 17:34:05 +0800 Subject: [PATCH] fix --- jd_jxnc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jd_jxnc.js b/jd_jxnc.js index 40ee058a..fbf9f0f7 100644 --- a/jd_jxnc.js +++ b/jd_jxnc.js @@ -32,7 +32,7 @@ cron "0 9,12,18 * * *" script-path=https://raw.githubusercontent.com/lxk0301/jd_ const $ = new Env('京喜农场'); let notify = ''; // nodejs 发送通知脚本 -let notifyLevel = process.env.JXNC_NOTIFY_LEVEL || 3; // 通知级别 0=不通知;1=本次获得水滴>0;2=任务执行;3=任务执行+未种植种子; +let notifyLevel = $.isNode() ? process.env.JXNC_NOTIFY_LEVEL || 3 : 3; // 通知级别 0=不通知;1=本次获得水滴>0;2=任务执行;3=任务执行+未种植种子; let notifyBool = true; // 代码内部使用,控制是否通知 let cookieArr = []; // 用户 cookie 数组 let currentCookie = ''; // 当前用户 cookie