diff --git a/api/controllers/wxapp/licheb/CusorderV2.php b/api/controllers/wxapp/licheb/CusorderV2.php index 91988c80..e4d08607 100644 --- a/api/controllers/wxapp/licheb/CusorderV2.php +++ b/api/controllers/wxapp/licheb/CusorderV2.php @@ -568,7 +568,7 @@ class CusorderV2 extends Wxapp $car_data['平台售价'] = $money_json['price_car']; $money_json['price_coplus'] && $car_data['公司加价'] = sprintf("%.2f", $money_json['price_coplus']); $money_json['price_color'] && $car_data['颜色加价'] = sprintf("%.2f", $money_json['price_color']); - $if_zero_firstpay && $car_data['0首付'] = '是'; + $if_zero_firstpay && $car_data['零首付'] = '是'; !$if_zero_firstpay && $car_data['定金'] = sprintf("%.2f", $money_json['price_book']); $car_price_list = []; $money_json['price_discount'] && $car_price_list['优惠'] = sprintf("%.2f", $money_json['price_discount']); @@ -898,7 +898,7 @@ class CusorderV2 extends Wxapp $payway = $val['payway']; $deposit = $money_json['price_book']; $if_zero_firstpay = $payway == 0 && !$deposit ? 1 : 0; - $if_zero_firstpay && $other_data['0首付'] = ['type' => 'text', 'value' => '是', 'bg_color' => '']; + $if_zero_firstpay && $other_data['零首付'] = ['type' => 'text', 'value' => '是', 'bg_color' => '']; $book_is_pay_text = $book_is_pay['status'] ? '已支付' : '未支付'; $price_book_text = number_format($money_json['price_book'], 2) . "($book_is_pay_text)"; !$if_zero_firstpay && $other_data['定金金额'] = ['type' => 'text', 'value' => $price_book_text, 'bg_color' => '']; diff --git a/common/libraries/receiver/Orders_v2_entity.php b/common/libraries/receiver/Orders_v2_entity.php index 6e56acfa..74fbdb4d 100644 --- a/common/libraries/receiver/Orders_v2_entity.php +++ b/common/libraries/receiver/Orders_v2_entity.php @@ -303,7 +303,7 @@ class Orders_v2_entity{ ]; $if_zero_firstpay && $sub_data['status'] = 1; // 0首付强制为已支付 $if_zero_firstpay && $sub_data['pay_time'] = date('Y-m-d H:i:s'); // 0首付强制支付时间 - $if_zero_firstpay && $sub_data['descrip'] = '0首付'; + $if_zero_firstpay && $sub_data['descrip'] = '零首付'; $entrust_user['id'] && $sub_data['entrust_uid'] = $entrust_user['id']; $uid && $sub_data['uid'] = $uid; $res = $this->ci->app_liche_orders_model->add($sub_data);