添加企业收藏求职者
This commit is contained in:
@@ -218,4 +218,19 @@ public class SecurityUtils
|
||||
throw new ServiceException("获取用户ID异常", HttpStatus.UNAUTHORIZED);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取企业社会信用代码
|
||||
* @return
|
||||
*/
|
||||
public static String getIdcard(){
|
||||
try
|
||||
{
|
||||
return getLoginUser().getUser().getIdCard();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw new ServiceException("获取用户ID异常", HttpStatus.UNAUTHORIZED);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user