Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
home-with-kids-mp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fee985cc
authored
2020-01-05 10:09:03 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
45c4df70
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
src/config.js
src/env/index.js
src/config.js
View file @
fee985c
...
...
@@ -2,7 +2,7 @@ let ENV_CONFIG = require('./env/index');
const
APPID
=
''
/** ====每次发布版本记得修改此环境配置==== */
const
ENV
=
'
Dev
'
;
// Dev Prod
const
ENV
=
'
Prod
'
;
// Dev Prod
const
NET_CONFIG
=
ENV_CONFIG
[
ENV
];
const
MOCKAPI
=
ENV_CONFIG
.
mockApi
;
...
...
src/env/index.js
View file @
fee985c
...
...
@@ -11,7 +11,8 @@ module.exports = {
baseApi
:
'https://slave-api.xxx.com'
},
Prod
:
{
baseApi
:
'https://api.k.wxpai.cn/bizproxy/xxx'
,
baseApi
:
'https://api.qi.kdao.xin/kd_jyes_api/minipro'
,
// baseApi: 'https://api.k.wxpai.cn/bizproxy/xxx',
commonApi
:
'https://api.k.wxpai.cn/bizproxy'
}
}
...
...
Please
register
or
sign in
to post a comment