From 7db819421210dd1fcdef8a050a2b306d4599fe2a Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Tue, 21 Jun 2022 15:28:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/VideoAccess-VCMP/api/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/VideoAccess-VCMP/api/config.js b/code/VideoAccess-VCMP/api/config.js index 87aa071..bd44859 100644 --- a/code/VideoAccess-VCMP/api/config.js +++ b/code/VideoAccess-VCMP/api/config.js @@ -39,7 +39,8 @@ const GOD_URL = process.env.GOD_URL || flags.godUrl || 'https://restapi.amap.com const GOD_KEY = process.env.GOD_KEY || flags.godKey; const YINGSHI_URL = process.env.YINGSHI_URL || flags.yingshiUrl || 'https://open.ys7.com/api'; -if (!IOT_VIDEO_ACCESS_DB || !IOTA_REDIS_SERVER_HOST || !IOTA_REDIS_SERVER_PORT || !GOD_KEY || !MQTT_VIDEO_SERVER) { +if (!IOT_VIDEO_ACCESS_DB || !IOTA_REDIS_SERVER_HOST || !IOTA_REDIS_SERVER_PORT || !GOD_KEY || !MQTT_VIDEO_SERVER || + !AXY_API_URL || !IOT_VIDEO_SERVER_URL || !IOT_AUTH_API) { console.log('缺少启动参数,异常退出'); args.showHelp(); process.exit(-1);