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