Showing
1 changed file
with
6 additions
and
1 deletions
@@ -114,6 +114,12 @@ const index = (params) => { | @@ -114,6 +114,12 @@ const index = (params) => { | ||
114 | }); | 114 | }); |
115 | } | 115 | } |
116 | 116 | ||
117 | + if (result[2] && result[2].data) { | ||
118 | + Object.assign(finalResult, { | ||
119 | + productFavoriteTotal: result[2].data.product_favorite_total | ||
120 | + }); | ||
121 | + } | ||
122 | + | ||
117 | if (result[3] && result[3].data) { | 123 | if (result[3] && result[3].data) { |
118 | Object.assign(finalResult, { | 124 | Object.assign(finalResult, { |
119 | sendCargoNum: result[3].data.send_cargo_num, | 125 | sendCargoNum: result[3].data.send_cargo_num, |
@@ -122,7 +128,6 @@ const index = (params) => { | @@ -122,7 +128,6 @@ const index = (params) => { | ||
122 | yohoCoinNum: result[3].data.yoho_coin_num, | 128 | yohoCoinNum: result[3].data.yoho_coin_num, |
123 | inboxTotal: result[3].data.inbox_total, | 129 | inboxTotal: result[3].data.inbox_total, |
124 | couponNum: result[3].data.coupon_num, | 130 | couponNum: result[3].data.coupon_num, |
125 | - productFavoriteTotal: result[3].data.product_favorite_total, | ||
126 | brandFavoriteTotal: result[3].data.brand_favorite_total, | 131 | brandFavoriteTotal: result[3].data.brand_favorite_total, |
127 | productBrowse: result[3].data.product_browse | 132 | productBrowse: result[3].data.product_browse |
128 | }); | 133 | }); |
-
Please register or login to post a comment