diff --git a/application/api/controller/Ucenter.php b/application/api/controller/Ucenter.php index 638ce7d2..0da3691e 100644 --- a/application/api/controller/Ucenter.php +++ b/application/api/controller/Ucenter.php @@ -258,7 +258,7 @@ class Ucenter extends Base{ } $user_info=$this->user_obj->join("t_user_reviewer_info","t_user_reviewer_info.reviewer_id = t_user.user_id",'left')->where('t_user.user_id',$data['user_id'])->find(); $cv = $this->user_cv_obj->where('user_id',$data['user_id'])->where('state',0)->find(); - if($user_info['realname']==''||$user_info['company']==''||$user_info['technical']==''||$user_info['major']==0||$user_info['field']==''||!$cv){ + if($user_info['realname']==''||$user_info['company']==''||$user_info['technical']==''||$user_info['field']==''||!$cv){ $str = ''; switch($data['type']){ case 1: