Authored by 郭成尧

Merge branch 'feature/favApi' of git.yoho.cn:fe/yohobuywap-node into feature/favApi

... ... @@ -39,6 +39,32 @@ const _noticeData = () => {
};
/**
* 个人中心页面优惠券,收藏的商品等的数目数据
*/
const _infoNum = (params) => {
return api.get('', {
method: 'app.home.getInfoNum',
uid: params.uid,
udid: params.udid,
}).then(result => {
return result;
});
};
/**
* 个人详情数据
*/
const _userData = (params) => {
return api.get('', {
method: 'app.passport.profile',
uid: params.uid,
}).then(result => {
return result;
});
};
/**
* 个人中心首页
* @param params
* @returns {function()}
... ...