diff --git a/app/crm/controller/CustomerController.php b/app/crm/controller/CustomerController.php index 0860af8..88f6b6f 100644 --- a/app/crm/controller/CustomerController.php +++ b/app/crm/controller/CustomerController.php @@ -295,14 +295,10 @@ class CustomerController extends BaseController if (Util::isEmpty($channel_id)) { return $this->error(trans('channel_not_null')); } - $country_id = Util::getParam($request, 'country_id', 0); - if (Util::isEmpty($country_id)) { -// return $this->error('country_id'.trans('not_null')); + $country_id = Util::getParam($request, 'country_id', 245); + if(empty($country_id)){ + $country_id = 245; } -// $car_type_id = Util::getParam($request, 'car_type_id'); -// if (Util::isEmpty($car_type_id)) { -// return $this->error(trans('car_type_not_null')); -// } $contacts = Util::getParam($request, 'contacts'); $email = Util::getParam($request, 'email'); $phone = Util::getParam($request, 'phone');