修复不分bug
This commit is contained in:
@@ -60,8 +60,8 @@ class DoctorAuthRequest extends FormRequest
|
||||
'department_custom_id' => 'required',
|
||||
'department_custom_mobile' => 'required',
|
||||
'doctor_title' => 'required|min:1|max:4',
|
||||
'brief_introduction' => 'required',
|
||||
'be_good_at' => 'required',
|
||||
'brief_introduction' => 'required|min:10|max:11',
|
||||
'be_good_at' => 'required|min:10|max:11',
|
||||
'license_cert' => 'required|array|min:1',
|
||||
'qualification_cert' => 'required|array|min:1',
|
||||
'work_cert' => 'required|array|min:1',
|
||||
@@ -90,7 +90,11 @@ class DoctorAuthRequest extends FormRequest
|
||||
'doctor_title.min' => "职称错误",
|
||||
'doctor_title.max' => "职称错误",
|
||||
'brief_introduction.required' => "请填写个人简介",
|
||||
'brief_introduction.min' => "个人简介最少输入10个字符",
|
||||
'brief_introduction.max' => "个人简介最多输入1000个字符",
|
||||
'be_good_at.required' => "请填写擅长领域",
|
||||
'be_good_at.min' => "擅长领域最少输入10个字符",
|
||||
'be_good_at.max' => "擅长领域最多输入1000个字符",
|
||||
'license_cert.required' => "请上传医师执业证",
|
||||
'license_cert.array' => HttpEnumCode::getMessage(HttpEnumCode::CLIENT_HTTP_ERROR),
|
||||
'qualification_cert.required' => "请上传医师资格证",
|
||||
|
||||
Reference in New Issue
Block a user