diff --git a/app/common/model/sharp/Goods.php b/app/common/model/sharp/Goods.php index 3c8965be..aa5a8579 100644 --- a/app/common/model/sharp/Goods.php +++ b/app/common/model/sharp/Goods.php @@ -111,11 +111,11 @@ class Goods extends BaseModel // 商品图片 $item['goods_image'] = !empty($item['goods']['goods_image']) ? $item['goods']['goods_image'] : ''; // 秒杀商品原价 (获取主商品价格) - $item['original_price'] = !empty($item['goods']['original_price']) ? $item['goods']['original_price'] : 0; + $item['original_price'] = !empty($item['goods']['original_price']) ? $item['goods']['original_price']: $item['goods']['goods_price_min']; // 回调函数 is_callable($callback) && call_user_func($callback, $item); } } return $data; } -} \ No newline at end of file +}