Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-shop-manage
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
刘志远
2020-09-23 15:09:41 +0800
Commit
ca17b26b1fcf4ee653c16f95501f837cb4fd0163
2 parents
f88ca58b
37d0e8b9
Merge branch 'feature/gray-gateway' into 'master'
增加灰度接口地址配置 增加灰度接口地址配置 See merge request
!116
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
package.json
server/common/api-domain.js
package.json
View file @
ca17b26
{
"name"
:
"yoho-shop-manage"
,
"version"
:
"1.3.
2
"
,
"version"
:
"1.3.
3
"
,
"description"
:
""
,
"main"
:
"app.js"
,
"scripts"
:
{
...
...
server/common/api-domain.js
View file @
ca17b26
...
...
@@ -226,6 +226,12 @@ if (global.env.Production) {
domains
.
platform
=
'http://api.platform.yohoops.org/platform'
;
domains
.
shop
=
'http://10.66.50.140:30016'
;
}
// 新配置灰度aip地址 lzhy 2020-09-24
if
(
global
.
env
.
Gray
)
{
domains
.
erp
=
'http://erp-pre.yohops.com'
;
domains
.
platform
=
'http://api.platform.yohoops.org/platform'
;
domains
.
shop
=
'http://10.66.50.140:30016'
;
}
_
.
each
(
domainApis
,
(
apis
,
domainName
)
=>
{
_
.
each
(
apis
,
(
url
,
api
)
=>
{
...
...
Please
register
or
login
to post a comment