|
@@ -134,7 +134,7 @@ const index = (params) => { |
|
@@ -134,7 +134,7 @@ const index = (params) => { |
134
|
|
134
|
|
135
|
if (result[2] && result[2].data) {
|
135
|
if (result[2] && result[2].data) {
|
136
|
Object.assign(finalResult, {
|
136
|
Object.assign(finalResult, {
|
137
|
- productFavoriteTotal: result[2].data.product_favorite_total
|
137
|
+ productFavoriteTotal: result[2].data.product_favorite_total || '0'
|
138
|
});
|
138
|
});
|
139
|
}
|
139
|
}
|
140
|
|
140
|
|
|
@@ -146,8 +146,8 @@ const index = (params) => { |
|
@@ -146,8 +146,8 @@ const index = (params) => { |
146
|
yohoCoinNum: result[3].data.yoho_coin_num,
|
146
|
yohoCoinNum: result[3].data.yoho_coin_num,
|
147
|
inboxTotal: result[3].data.inbox_total,
|
147
|
inboxTotal: result[3].data.inbox_total,
|
148
|
couponNum: result[3].data.coupon_num,
|
148
|
couponNum: result[3].data.coupon_num,
|
149
|
- brandFavoriteTotal: result[3].data.brand_favorite_total,
|
|
|
150
|
- productBrowse: result[3].data.product_browse
|
149
|
+ brandFavoriteTotal: result[3].data.brand_favorite_total || '0',
|
|
|
150
|
+ productBrowse: result[3].data.product_browse || '0'
|
151
|
});
|
151
|
});
|
152
|
}
|
152
|
}
|
153
|
|
153
|
|