0.88
This commit is contained in:
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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user