This commit is contained in:
xucong 2024-12-08 09:13:15 +08:00
parent da24bed422
commit 1a2682f86e

@ -130,7 +130,7 @@ class Goods extends Api
$error = GoodsLogic::getError() ?? '获取商品详情失败';
return JsonServer::error($error);
}
if($act_id!=1){
if($act_id==1){
$goodsDetail['min_price'] = round(0.88*$goodsDetail['min_price'],2);
foreach ($goodsDetail['goods_item'] as $k => $v) {
$goodsDetail['goods_item'][$k]['price'] = round($v['price'] * 0.88, 2);