From 0c2ed12a5324e2f700c54a345aa84134fbff2307 Mon Sep 17 00:00:00 2001 From: xucong <850806214@qq.com> Date: Sun, 8 Dec 2024 09:13:24 +0800 Subject: [PATCH] 0.88 --- app/api/controller/Goods.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/controller/Goods.php b/app/api/controller/Goods.php index 0aa8eb62..5fc6f72f 100755 --- a/app/api/controller/Goods.php +++ b/app/api/controller/Goods.php @@ -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);