Authored by htoooth

add ufo api

... ... @@ -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: {}
}
};
... ...
... ... @@ -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/',
};
... ...