Browse Source

feat:打印日志

master
zhaobing 12 months ago
parent
commit
434bc39ed3
  1. 6
      api/config.js

6
api/config.js

@ -83,6 +83,12 @@ if (!XUNJIAN_DB || !QINIU_DOMAIN_QNDMN_RESOURCE || !QINIU_BUCKET_RESOURCE || !QI
||!IOT_PROXY||!API_CRAW_URL||!CLICKHOUST_URL||!CLICKHOUST_PORT||!CLICKHOUST_USER||!CLICKHOUST_PASSWORD||!CLICKHOUST_IOT
) {
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);
}

Loading…
Cancel
Save