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);