Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ca96bc32
authored
Jul 20, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix 请求配置修改
1 parent
d850bdac
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
.env.development
src/libs/rop/loadAxiosConfig.js
.env.development
View file @
ca96bc3
...
@@ -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
src/libs/rop/loadAxiosConfig.js
View file @
ca96bc3
...
@@ -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"
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment