Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai(👎🏻🍜)
9 years ago
Commit
b7605edbf16272dfbd0a5a8b1155f7f714f523fc
1 parent
4ab70807
完善接口调用
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
config/common.js
config/common.js
View file @
b7605ed
...
...
@@ -18,6 +18,7 @@ module.exports = {
domains
:
{
api
:
'http://api-test1.yohops.com:9999/'
,
service
:
'http://service-test1.yohops.com:9999/'
,
liveApi
:
'http://testapi.live.yohops.com:9999/'
,
singleApi
:
'http://api-test1.yohops.com:9999/'
},
subDomains
:
{
...
...
@@ -81,7 +82,8 @@ if (isProduction) {
domains
:
{
api
:
'http://api.yoho.yohoops.org/'
,
service
:
'http://service.yoho.yohoops.org/'
,
liveApi
:
'http://api.live.yoho.cn/'
liveApi
:
'http://api.live.yoho.cn/'
,
singleApi
:
'http://singleapi.yoho.cn/'
},
memcache
:
{
master
:
[
'memcache1.yohoops.org:12111'
,
'memcache2.yohoops.org:12111'
,
'memcache3.yohoops.org:12111'
],
...
...
@@ -103,7 +105,8 @@ if (isProduction) {
domains
:
{
api
:
process
.
env
.
TEST_API
||
'http://api-test1.yohops.com:9999/'
,
service
:
process
.
env
.
TEST_SERVICE
||
'http://service-test1.yohops.com:9999/'
,
liveApi
:
process
.
env
.
TEST_LIVE
||
'http://testapi.live.yohops.com:9999/'
liveApi
:
process
.
env
.
TEST_LIVE
||
'http://testapi.live.yohops.com:9999/'
,
singleApi
:
process
.
env
.
TEST_SINGLE
||
'http://api-test1.yohops.com:9999/'
},
memcache
:
{
master
:
[
'127.0.0.1:12111'
],
...
...
Please
register
or
login
to post a comment