...
|
...
|
@@ -11,7 +11,7 @@ class Study extends Validate |
|
|
*/
|
|
|
protected $rule = [
|
|
|
'name'=>'require|max:10',
|
|
|
'phone'=>['require','regex:/^[1](([3][0-9])|([4][5-9])|([5][0-3,5-9])|([6][5,6])|([7][0-8])|([8][0-9])|([9][1,8,9]))[0-9]{8}$/']
|
|
|
'phone'=>['regex:/^[1](([3][0-9])|([4][5-9])|([5][0-3,5-9])|([6][5,6])|([7][0-8])|([8][0-9])|([9][1,8,9]))[0-9]{8}$/']
|
|
|
|
|
|
];
|
|
|
/**
|
...
|
...
|
|