@Service public class EruptUserService extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
LOGIN_ERROR_HINT |
| 构造器和说明 |
|---|
EruptUserService() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
cacheUserInfo(EruptUser eruptUser,
String token) |
EruptApiModel |
changePwd(String account,
String pwd,
String newPwd,
String newPwd2) |
boolean |
checkPwd(EruptUser eruptUser,
String pwd) |
boolean |
checkVerifyCode(String verifyCode) |
static LoginProxy |
findEruptLogin() |
EruptMenu |
getCurrentEruptMenu() |
EruptUser |
getCurrentEruptUser() |
String |
getCurrentToken() |
Long |
getCurrentUid() |
EruptMenu |
getEruptMenuByCode(String menuValue) |
EruptMenu |
getEruptMenuByValue(String menuValue) |
LocalDateTime |
getExpireTime() |
LoginModel |
login(String account,
String pwd) |
void |
saveLoginLog(EruptUser user,
String token) |
public static LoginProxy findEruptLogin()
public LoginModel login(String account, String pwd)
public LocalDateTime getExpireTime()
public boolean checkVerifyCode(String verifyCode)
public EruptApiModel changePwd(String account, String pwd, String newPwd, String newPwd2)
public String getCurrentToken()
public EruptMenu getCurrentEruptMenu()
public Long getCurrentUid()
public EruptUser getCurrentEruptUser()
Copyright © 2021. All rights reserved.