@Component public class SohelpLogin extends Object
限定符和类型 | 字段和说明 |
---|---|
javax.servlet.http.HttpServletRequest |
request |
构造器和说明 |
---|
SohelpLogin() |
限定符和类型 | 方法和说明 |
---|---|
long |
getLoginId() |
String |
getLoginName() |
Map<String,Object> |
getLoginUser() |
String |
getNickName() |
Long |
getOrgId() |
String |
getOrgName()
获取组织名称
|
javax.servlet.http.HttpServletRequest |
getRequest() |
javax.servlet.http.HttpServletResponse |
getResponse() |
Long |
getTenantId() |
long |
getUserId() |
String |
getUserNo() |
boolean |
isAdmin() |
boolean |
isDev() |
boolean |
isLogin() |
void |
reloadCache()
清空缓存
|
Map<String,Object> |
updateOperatorLog(Map<String,Object> dataMap) |
@Comment(value="\u83b7\u53d6\u539f\u751fHttpServletRequest") public javax.servlet.http.HttpServletRequest getRequest()
@Comment(value="\u83b7\u53d6\u539f\u751fHttpServletResponse") public javax.servlet.http.HttpServletResponse getResponse()
@Comment(value="\u83b7\u53d6\u767b\u5f55\u4eba\u5458\u4fe1\u606f") public Map<String,Object> getLoginUser() throws TokenAuthenticationException
@Comment(value="\u5237\u65b0\u4e1a\u52a1\u6570\u636e\u7f13\u5b58,\u5305\u62ec\u7528\u6237\u3001\u7ec4\u7ec7\u3001\u5b57\u5178\u3001\u7528\u6237\u83dc\u5355\u3001\u7528\u6237\u5b57\u5178\u3001\u5c97\u4f4d\u3001\u7528\u6237\u5c97\u4f4d\u3002") public void reloadCache() throws SQLException
SQLException
@Comment(value="\u83b7\u53d6\u7ec4\u7ec7\u540d\u79f0") public String getOrgName() throws TokenAuthenticationException, SQLException
@Comment(value="\u83b7\u53d6\u767b\u5f55\u767b\u5f55\u7528\u6237ID") public long getLoginId() throws TokenAuthenticationException
@Comment(value="\u83b7\u53d6\u767b\u5f55\u767b\u5f55\u7528\u6237ID") public long getUserId() throws TokenAuthenticationException
@Comment(value="\u83b7\u53d6\u767b\u5f55\u7528\u6237\u7f16\u53f7") public String getUserNo() throws TokenAuthenticationException
@Comment(value="\u66f4\u65b0\u64cd\u4f5c\u65e5\u5fd7") public Map<String,Object> updateOperatorLog(Map<String,Object> dataMap) throws SQLException
SQLException
@Comment(value="\u662f\u5426\u767b\u5f55") public boolean isLogin()
@Comment(value="\u83b7\u53d6\u767b\u5f55\u767b\u5f55\u5e10\u6237") public String getLoginName() throws TokenAuthenticationException
@Comment(value="\u83b7\u53d6\u767b\u5f55\u59d3\u540d") public String getNickName() throws TokenAuthenticationException
@Comment(value="\u83b7\u53d6\u767b\u5f55\u79df\u6237ID") public Long getTenantId() throws TokenAuthenticationException, SQLException
@Comment(value="\u83b7\u53d6\u767b\u5f55\u7ec4\u7ec7ID") public Long getOrgId() throws TokenAuthenticationException
@Comment(value="\u767b\u5f55\u7528\u6237\u662f\u5426\u4e3a\u5f00\u53d1\u4eba\u5458") public boolean isDev() throws TokenAuthenticationException
@Comment(value="\u767b\u5f55\u7528\u6237\u662f\u5426\u4e3a\u7ba1\u7406\u4eba\u5458") public boolean isAdmin() throws TokenAuthenticationException
Copyright © 2025. All rights reserved.