|
|
@@ -244,21 +244,21 @@ class User extends UserModel
|
|
|
|
|
|
if($data['user_type'] == 1){
|
|
|
|
|
|
- if(empty($data['admission_year'])){
|
|
|
+ /*if(empty($data['admission_year'])){
|
|
|
throwError('请选择入学年份');
|
|
|
}
|
|
|
|
|
|
if(empty($data['education_certify'])){
|
|
|
throwError('请上传教育证明');
|
|
|
- }
|
|
|
+ }*/
|
|
|
}else if($data['user_type'] == 3){
|
|
|
if(empty($data['position'])){
|
|
|
throwError('请选择职务');
|
|
|
}
|
|
|
|
|
|
- if(empty($data['work_certify'])){
|
|
|
+ /*if(empty($data['work_certify'])){
|
|
|
throwError('请上传职务证明');
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
|
|
|
if($userInfo['mobile'] != $data['mobile']) {
|
|
|
@@ -277,9 +277,9 @@ class User extends UserModel
|
|
|
throwError('身份证号码已被使用');
|
|
|
}
|
|
|
|
|
|
- if(empty($data['idcard_front_img'])){
|
|
|
+ /*if(empty($data['idcard_front_img'])){
|
|
|
throwError('请上传身份证明');
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
$chekId = self::checkExistByMobile($data['mobile']);
|
|
|
if($data['mobile'] && $chekId && $userInfo['user_id'] != $chekId){
|