11
This commit is contained in:
@ -40,7 +40,7 @@ class SmsController extends CustomerBaseController
|
||||
|
||||
$validator = Validator::make($aReqData, [
|
||||
'phone_area' => 'required|alpha_dash:ascii|max:5',
|
||||
'phone' => 'required|numeric|max:15',
|
||||
'phone' => 'required|digits_between:6,15',
|
||||
]);
|
||||
if ($validator->fails()) {
|
||||
return $this->error($validator->errors()->first());
|
||||
|
||||
Reference in New Issue
Block a user