客户默认值
This commit is contained in:
@@ -295,14 +295,10 @@ class CustomerController extends BaseController
|
|||||||
if (Util::isEmpty($channel_id)) {
|
if (Util::isEmpty($channel_id)) {
|
||||||
return $this->error(trans('channel_not_null'));
|
return $this->error(trans('channel_not_null'));
|
||||||
}
|
}
|
||||||
$country_id = Util::getParam($request, 'country_id', 0);
|
$country_id = Util::getParam($request, 'country_id', 245);
|
||||||
if (Util::isEmpty($country_id)) {
|
if(empty($country_id)){
|
||||||
// return $this->error('country_id'.trans('not_null'));
|
$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');
|
$contacts = Util::getParam($request, 'contacts');
|
||||||
$email = Util::getParam($request, 'email');
|
$email = Util::getParam($request, 'email');
|
||||||
$phone = Util::getParam($request, 'phone');
|
$phone = Util::getParam($request, 'phone');
|
||||||
|
|||||||
Reference in New Issue
Block a user