From 02e3f7393bc6d0326113297435b866a7f93712fc Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Fri, 9 Sep 2022 11:29:24 +0800 Subject: [PATCH] API_ANXINYUN_URL --- api/config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/config.js b/api/config.js index 4ea5e73..b74a290 100644 --- a/api/config.js +++ b/api/config.js @@ -41,7 +41,7 @@ const IOTA_REDIS_SERVER_PORT = process.env.IOTA_REDIS_SERVER_PORT || flags.redis const IOTA_REDIS_SERVER_PWD = process.env.IOTA_REDIS_SERVER_PWD || flags.redisPswd || "";//redis 密码 // 安心云api -const AXY_API_URL = process.env.API_ANXINYUN_URL || flags.axyApiUrl; +const API_ANXINYUN_URL = process.env.API_ANXINYUN_URL || flags.axyApiUrl; // 企业管理 api const API_EMIS_URL = process.env.API_EMIS_URL || flags.apiEmisUrl; @@ -61,9 +61,9 @@ const QINIU_SK = process.env.ANXINCLOUD_QINIU_SECRETKEY || flags.qnsk; if ( !POMS_DB || - !IOTA_REDIS_SERVER_HOST || !IOTA_REDIS_SERVER_PORT || !GOD_KEY || + !IOTA_REDIS_SERVER_HOST || !IOTA_REDIS_SERVER_PORT || !GOD_KEY || // !MQTT_VIDEO_SERVER || - !AXY_API_URL || + !API_ANXINYUN_URL || !API_EMIS_URL || !QINIU_DOMAIN_QNDMN_RESOURCE || !QINIU_BUCKET_RESOURCE || !QINIU_AK || !QINIU_SK ) { @@ -121,7 +121,7 @@ const product = { }, pssaRequest: [{// name 会作为一个 request 出现在 ctx.app.fs name: 'axyRequest', - root: AXY_API_URL + root: API_ANXINYUN_URL }, { name: 'emisRequest', root: API_EMIS_URL