Authored by Rock Zhang

修改获取加价购商品详情storage_sum不存在报错的bug

@@ -590,7 +590,10 @@ class CartModel @@ -590,7 +590,10 @@ class CartModel
590 $data['name'] = $productData['product_name']; 590 $data['name'] = $productData['product_name'];
591 $data['price'] = $productData['market_price']; 591 $data['price'] = $productData['market_price'];
592 $data['salePrice'] = $productData['sales_price']; 592 $data['salePrice'] = $productData['sales_price'];
  593 +
  594 + if (isset($productData['storage_sum'])) {
593 $data['storage'] = $productData['storage_sum']; 595 $data['storage'] = $productData['storage_sum'];
  596 + }
594 if ($num !== null) { 597 if ($num !== null) {
595 $data['num'] = $num; 598 $data['num'] = $num;
596 } 599 }