...
|
...
|
@@ -10,6 +10,7 @@ |
|
|
// const logger = global.yoho.logger;
|
|
|
const favApi = global.yoho.FavAPI;
|
|
|
const api = global.yoho.API;
|
|
|
const helpers = global.yoho.helpers;
|
|
|
|
|
|
/**
|
|
|
* 个人详情数据
|
...
|
...
|
@@ -66,6 +67,8 @@ const index = (params) => { |
|
|
pageFooter: true,
|
|
|
refundExchangeNum: 0,
|
|
|
commentTotal: 0,
|
|
|
cartUrl: helpers.urlFormat('/cart/index/index'),
|
|
|
signinUrl: helpers.urlFormat('/signin.html', {refer: helpers.urlFormat('/home')})
|
|
|
};
|
|
|
|
|
|
return api.all([
|
...
|
...
|
@@ -74,7 +77,6 @@ const index = (params) => { |
|
|
_favoriteData(params),
|
|
|
_infoNum(params)
|
|
|
]).then(result => {
|
|
|
// console.log(result);
|
|
|
if (result[1] && result[1].data) {
|
|
|
Object.assign(finalResult, {
|
|
|
notice: [{title: 'testmessage'}]
|
...
|
...
|
|