From b8890d38614e8ab9cddbc8ae91873dbd1d510e0c Mon Sep 17 00:00:00 2001 From: zhaobing Date: Mon, 22 Jan 2024 14:57:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B3=A8=E9=87=8Ack=E5=95=86=E7=94=A8?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E9=85=8D=E7=BD=AE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/config.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/api/config.js b/api/config.js index 351f39d..163de94 100644 --- a/api/config.js +++ b/api/config.js @@ -74,21 +74,16 @@ const API_CRAW_URL = process.env.API_CRAW_URL || flags.apiCrawUrl; const CLICKHOUST_URL = process.env.CLICKHOUST_URL || flags.clickHouseUrl const CLICKHOUST_PORT = process.env.CLICKHOUST_PORT || flags.clickHousePort const CLICKHOUST_USER = process.env.CLICKHOUST_USER || flags.clickHouseUser -const CLICKHOUST_PASSWORD = process.env.CLICKHOUST_PASSWORD || 'Wbo@hi1I' +// const CLICKHOUST_PASSWORD = process.env.CLICKHOUST_PASSWORD || flags.clickHousePassword const CLICKHOUST_DATA_ALARM = process.env.CLICKHOUST_DATA_ALARM || flags.clickHouseDataAlarm const CLICKHOUST_IOT = process.env.CLICKHOUST_IOT || flags.clickHouseIot if (!XUNJIAN_DB || !QINIU_DOMAIN_QNDMN_RESOURCE || !QINIU_BUCKET_RESOURCE || !QINIU_AK || !QINIU_SK || !WX_DOMAIN || !WX_APP_ID || !WX_APP_SECRET || !API_ANXINYUN_URL|| !AXY_BZ_PROJECT - ||!IOT_PROXY||!API_CRAW_URL||!CLICKHOUST_URL||!CLICKHOUST_PORT||!CLICKHOUST_USER||!CLICKHOUST_PASSWORD||!CLICKHOUST_IOT + ||!IOT_PROXY||!API_CRAW_URL||!CLICKHOUST_URL||!CLICKHOUST_PORT||!CLICKHOUST_USER||!CLICKHOUST_IOT + //!CLICKHOUST_PASSWORD|| ) { console.log('缺少启动参数,异常退出'); - console.log('缺少启动参数,异常退出', - XUNJIAN_DB,QINIU_DOMAIN_QNDMN_RESOURCE ,QINIU_BUCKET_RESOURCE,QINIU_AK,QINIU_SK,WX_DOMAIN,WX_APP_ID,WX_APP_SECRET,API_ANXINYUN_URL,AXY_BZ_PROJECT - ,IOT_PROXY,API_CRAW_URL,CLICKHOUST_URL,CLICKHOUST_PORT,CLICKHOUST_USER,CLICKHOUST_PASSWORD,CLICKHOUST_IOT - - - ); args.showHelp(); process.exit(-1); }