1
This commit is contained in:
@@ -300,10 +300,10 @@ class CustomerController
|
||||
if (Util::isEmpty($country_id)) {
|
||||
// return Util::fail([],'country_id'.trans('not_null'));
|
||||
}
|
||||
$car_type_id = Util::getParam($request, 'car_type_id');
|
||||
if (Util::isEmpty($car_type_id)) {
|
||||
return Util::fail([], trans('car_type_not_null'));
|
||||
}
|
||||
// $car_type_id = Util::getParam($request, 'car_type_id');
|
||||
// if (Util::isEmpty($car_type_id)) {
|
||||
// return Util::fail([], trans('car_type_not_null'));
|
||||
// }
|
||||
$contacts = Util::getParam($request, 'contacts');
|
||||
$email = Util::getParam($request, 'email');
|
||||
$phone = Util::getParam($request, 'phone');
|
||||
@@ -316,7 +316,7 @@ class CustomerController
|
||||
'grade' => Util::getParam($request, 'grade', 0),
|
||||
'channel_id' => $channel_id,
|
||||
'country_id' => $country_id,
|
||||
'car_type_id' => $car_type_id,
|
||||
// 'car_type_id' => $car_type_id,
|
||||
'magnitude' => Util::getParam($request, 'magnitude', 0),
|
||||
'email' => $email,
|
||||
'phone' => $phone,
|
||||
|
||||
Reference in New Issue
Block a user