Merge remote-tracking branch 'origin/master' into gray
Showing
2 changed files
with
3 additions
and
3 deletions
@@ -167,8 +167,8 @@ function _getShopData(channel, params, shopInfo) { | @@ -167,8 +167,8 @@ function _getShopData(channel, params, shopInfo) { | ||
167 | }); | 167 | }); |
168 | 168 | ||
169 | _.forEach(prodList, value => { | 169 | _.forEach(prodList, value => { |
170 | - list[value.product_skn] = { | ||
171 | - img: value.default_images, | 170 | + list[value.skn] = { |
171 | + img: value.default_images || value.thumb, | ||
172 | title: value.product_name, | 172 | title: value.product_name, |
173 | price: `¥${value.sales_price}` | 173 | price: `¥${value.sales_price}` |
174 | }; | 174 | }; |
-
Please register or login to post a comment