From 0ba8690f1fbfe12d7d89fdf706f857e45fcee830 Mon Sep 17 00:00:00 2001 From: qianhy Date: Fri, 10 Mar 2023 17:31:31 +0800 Subject: [PATCH] business add type=3 dis_money with city 350600 350900 --- api/controllers/wxapp/app/Business.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/wxapp/app/Business.php b/api/controllers/wxapp/app/Business.php index 77ddcc3a..6aae308d 100644 --- a/api/controllers/wxapp/app/Business.php +++ b/api/controllers/wxapp/app/Business.php @@ -89,7 +89,7 @@ class Business extends Wxapp{ $car['price_car'] = $row['price_car']; $car['price_floor'] = $row['price_floor']; $dis_money = $car['price_car'] - $car['price_floor']; - $biz['type'] == 3 && $dis_money = $dis_money - $row['proxy_profix_car']; + $biz['type'] == 3 && in_array($city_id, array(350600, 350900)) && $dis_money = $dis_money - $row['proxy_profix_car']; # 230310 宁德 or 漳州 的代理店优惠额度 if($biz['id']==160){ $dis_money = 200000; }