Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-app-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
6 years ago
Commit
e95bc2c8549cb3bce88927339f64e05fb321adef
1 parent
4a739ac8
add ufo api
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
config/api-map.js
config/common.js
config/api-map.js
View file @
e95bc2c
...
...
@@ -21,10 +21,8 @@ module.exports = {
params
:
{}
},
'/api/coupon/ufo/list'
:
{
api
:
'app.coupons.get'
,
params
:
{
limit
:
{
type
:
Number
},
page
:
{
type
:
Number
}
}
api
:
'ufo.coupons.get'
,
ufo
:
true
,
params
:
{}
}
};
...
...
config/common.js
View file @
e95bc2c
...
...
@@ -11,8 +11,8 @@ const isTest = process.env.NODE_ENV === 'test3';
const
domains
=
{
api
:
'http://api.yoho.cn/'
,
service
:
'http://service.yoho.cn/'
,
// api: 'http://api.yoho.cn/',
// service: 'http://service.yoho.cn/',
// liveApi: 'http://testapi.live.yohops.com:9999/',
// singleApi: 'http://api-test3.yohops.com:9999/',
...
...
@@ -23,8 +23,8 @@ const domains = {
// platformApi: 'http://172.16.6.210:8088/',
// api: 'http://api-test3.dev.yohocorp.com/',
// service: 'http://api-test3.dev.yohocorp.com/',
api
:
'http://api-test3.dev.yohocorp.com/'
,
service
:
'http://api-test3.dev.yohocorp.com/'
,
// ufo: 'http://java-yohoufo-fore.test3.ingress.dev.yohocorp.com/ufo-gateway/',
};
...
...
Please
register
or
login
to post a comment