This commit is contained in:
xucong 2024-12-07 15:30:56 +08:00
parent c7bf98f3d1
commit 16ad1e6c64

@ -71,7 +71,7 @@ class GoodsLogic extends Logic
->where($onSaleWhere)
->where('id', $goodsId)
->findOrEmpty();
$goodsDetail['min_price'] = round(0.88*$goodsDetail['min_price'],2);
if ($goodsDetail->isEmpty()) {
self::$error = '商品已下架';
return false;