edit-api-create_order_limit
This commit is contained in:
@@ -90,7 +90,7 @@ class Cusorder extends Wxapp{
|
||||
if(!$price || !$deposit){
|
||||
throw new Exception('车辆价格参数未配置', ERR_PARAMS_ERROR);
|
||||
}
|
||||
if(!$row || !$series_row || !$cardid || !$address ||!$delry_time){
|
||||
if(!$row || !$series_row || !$address ||!$delry_time){
|
||||
throw new Exception('参数错误', ERR_PARAMS_ERROR);
|
||||
}
|
||||
if($inten_money > $deposit){
|
||||
|
||||
@@ -57,7 +57,7 @@ class Cusorder2 extends Wxapp{
|
||||
$inten_money = floatval($this->input_param('inten_money'));//意向金
|
||||
|
||||
$row = $this->customers_model->get(['id'=>$cus_id]);
|
||||
if(!$row || !$cardid || !$address){
|
||||
if(!$row || !$address){
|
||||
throw new Exception('参数错误', ERR_PARAMS_ERROR);
|
||||
}
|
||||
if($inten_money > 2000){
|
||||
|
||||
Reference in New Issue
Block a user