Authored by 于良

收藏数量接口域名调整 review by xiaojun

... ... @@ -7,7 +7,7 @@ let InitialState = Record({
channel: 1, // 1 - boy, 2 - girl, 3 - kid, 4 - lifestyle, 5 - yoho
host: 'http://api.yoho.cn',
serviceHost: 'http://api.yoho.cn',
singleHost: 'http://single.yoho.cn/favorite',
singleHost: 'http://api.yoho.cn',
});
export default InitialState;
... ...
... ... @@ -9,7 +9,7 @@ let InitialState = Record({
serviceHost: 'http://api.yoho.cn',
billHost: 'http://bill.m.yohobuy.com',
globalApiHost: 'http://api-global.yohobuy.com',
singleHost: 'http://single.yoho.cn',
singleHost: 'http://api.yoho.cn',
socialHost: 'http://social.yoho.cn',
});
... ...
... ... @@ -207,11 +207,11 @@ export default class MineService {
/**
* 获取收藏商品数量
* http://single.yoho.cn/favorite/
* http://api.yoho.cn
*/
async getMineFavProNum(fromPage = 'aFP_My') {
return await this.api.get({
url: '/favorite/',
url: '',
body: {
method: 'app.favorite.getFavoriteCount',
fromPage,
... ...
... ... @@ -7,7 +7,7 @@ let InitialState = Record({
channel: 1, // 1 - boy, 2 - girl, 3 - kid, 4 - lifestyle, 5 - yoho
host: 'http://api.yoho.cn',
serviceHost: 'http://api.yoho.cn',
singleHost: 'http://single.yoho.cn/favorite',
singleHost: 'http://api.yoho.cn',
yohoodTicketSkn:'51335912',
yohoodTicketsSkn: '51335908',
showAntiFraud: true,
... ...
... ... @@ -5,7 +5,7 @@ import {Record, List, Map} from 'immutable';
let InitialState = Record({
platform: 'ios', // ios, android
host: 'http://api.yoho.cn',
singleApiHost: 'http://single.yoho.cn/favorite',
singleApiHost: 'http://api.yoho.cn',
liveHost: 'http://apilive.yoho.cn',
});
... ...