根据企业code查询企业联系人
This commit is contained in:
@@ -135,4 +135,19 @@ public class SiteSecurityUtils
|
||||
throw new ServiceException("获取用户ID异常", HttpStatus.UNAUTHORIZED);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取idcard
|
||||
* @return
|
||||
*/
|
||||
public static String getIdCard(){
|
||||
try
|
||||
{
|
||||
return getLoginSiteUser().getUser().getIdCard();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
throw new ServiceException("获取用户ID异常", HttpStatus.UNAUTHORIZED);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user