business add type=3 dis_money about
This commit is contained in:
@@ -31,7 +31,7 @@ class Business extends Wxapp{
|
||||
$color_id = $this->input_param('color_id');
|
||||
$main_type = $this->input_param('main_type');
|
||||
$oid = $this->input_param('oid');
|
||||
$biz = $this->biz_model->get(['id'=>$biz_id],'id,city_id');
|
||||
$biz = $this->biz_model->get(['id'=>$biz_id],'id,city_id,type');
|
||||
$city_id = $biz['city_id'];
|
||||
$where = [
|
||||
's_id'=>$s_id,
|
||||
@@ -89,6 +89,8 @@ 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'];
|
||||
$dis_money = $dis_money - $car['proxy_profix_car'];
|
||||
if($biz['id']==160){
|
||||
$dis_money = 200000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user