Showing
1 changed file
with
1 additions
and
1 deletions
@@ -1086,7 +1086,7 @@ let getProductData = (data) => { | @@ -1086,7 +1086,7 @@ let getProductData = (data) => { | ||
1086 | result = result.data; | 1086 | result = result.data; |
1087 | result.goods_id = data.goodsId; | 1087 | result.goods_id = data.goodsId; |
1088 | return Promise.all([ | 1088 | return Promise.all([ |
1089 | - _getShopsInfo(result.brand_info.brand_id), | 1089 | + _getShopsInfo(_.get(result, 'brand_info.brand_id', 0)), |
1090 | 1090 | ||
1091 | // _getPromotionInfo(result.product_skn), | 1091 | // _getPromotionInfo(result.product_skn), |
1092 | comment.getCommentInfo({ | 1092 | comment.getCommentInfo({ |
-
Please register or login to post a comment