|
@@ -897,7 +897,7 @@ class IndexController extends WebBaseController
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- $data = $request->only('realname', 'sex', 'birthday', 'avatar', 'nation', 'native_place', 'political_affiliation', 'titles', 'join_time', 'work', 'house_register', 'education', 'school', 'degree', 'pro', 'address', 'card', 'mobile', 'email', 'concat_name', 'concat_mobile', 'resume', 'post_id', 'adjust', 'remark', 'graduation');
|
|
|
+ $data = $request->only('realname', 'sex', 'birthday', 'avatar', 'nation', 'native_place', 'political_affiliation', 'titles', 'join_time', 'work', 'house_register', 'education', 'school', 'degree', 'pro', 'address', 'card_type', 'card', 'mobile', 'email', 'concat_name', 'concat_mobile', 'resume', 'post_id', 'adjust', 'remark', 'graduation');
|
|
|
if (!array_key_exists('post_id', $data)) {
|
|
|
return response()->json(['status' => 0, 'msg' => '请选择报考岗位']);
|
|
|
}
|
|
@@ -928,6 +928,7 @@ class IndexController extends WebBaseController
|
|
|
'address' => 'required',
|
|
|
'mobile' => 'required',
|
|
|
'email' => 'required',
|
|
|
+ 'card_type' => 'required',
|
|
|
'card' => 'required',
|
|
|
'concat_name' => 'required',
|
|
|
'concat_mobile' => 'required',
|
|
@@ -950,6 +951,7 @@ class IndexController extends WebBaseController
|
|
|
'address.required' => '请填写通信地址',
|
|
|
'mobile.required' => '请填写手机号码',
|
|
|
'email.required' => '请填写电子邮箱',
|
|
|
+ 'card_type.required' => '请选择证件类型',
|
|
|
'card.required' => '请填写身份证号码',
|
|
|
'resume.required' => '请填写个人简历',
|
|
|
'concat_name.required' => '请填写联系人姓名',
|