Browse Source

API_ANXINYUN_URL

release_0.0.1
巴林闲侠 2 years ago
parent
commit
02e3f7393b
  1. 6
      api/config.js

6
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;
@ -63,7 +63,7 @@ if (
!POMS_DB ||
!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

Loading…
Cancel
Save