Commit ca96bc32 by 张立顺

fix 请求配置修改

1 parent d850bdac
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
# VUE_APP_API=http://192.168.3.171:7300/mock/5d638b3b6fbe9a0ac59d872e/tFIMS # VUE_APP_API=http://192.168.3.171:7300/mock/5d638b3b6fbe9a0ac59d872e/tFIMS
VUE_APP_REPO=http://192.168.3.171:7300/mock/5be17454f31545347559d499/config VUE_APP_REPO=http://192.168.3.171:7300/mock/5be17454f31545347559d499/config
# 配置中心地址继承 .env 中的 VUE_APP_CONFIG_CENTER_URL(config-center-backend)
# 配置中心不可用时,main.js 会回退到 src/common/baseConfig.develop.json
# 使用 develop 环境完整配置(含 axios.appkey/secret/baseURL) # 使用 develop 环境完整配置(含 axios.appkey/secret/baseURL)
# oss mock 不可用时,main.js 会回退到 src/common/baseConfig.develop.json
VUE_APP_CONFIG_CENTER_URL=https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config
VUE_APP_USE_DEVELOP_AXIOS=true VUE_APP_USE_DEVELOP_AXIOS=true
# 门店工作汇报:默认走真实 dailyReport 接口;本地需 Mock 时设 VUE_APP_JOURNAL_MOCK=true # 门店工作汇报:默认走真实 dailyReport 接口;本地需 Mock 时设 VUE_APP_JOURNAL_MOCK=true
...@@ -5,7 +5,7 @@ const path = require("path"); ...@@ -5,7 +5,7 @@ const path = require("path");
const { getAxiosConfigKey } = require("./resolveApiName"); const { getAxiosConfigKey } = require("./resolveApiName");
const DEFAULT_CONFIG_URL = process.env.VUE_APP_CONFIG_CENTER_URL const DEFAULT_CONFIG_URL = process.env.VUE_APP_CONFIG_CENTER_URL
|| "https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config"; || "https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=dj-car-life-system-config";
const DEVELOP_CONFIG_PATH = path.join(__dirname, "../../common/baseConfig.develop.json"); const DEVELOP_CONFIG_PATH = path.join(__dirname, "../../common/baseConfig.develop.json");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!