增加了mongo用户登录模块
This commit is contained in:
parent
242e20fa25
commit
3651fe9ff2
@ -41,6 +41,8 @@ public class LoginUser implements UserDetails, CredentialsContainer {
|
|||||||
private String userPhone;
|
private String userPhone;
|
||||||
private String userAvatar;
|
private String userAvatar;
|
||||||
private String userEmail;
|
private String userEmail;
|
||||||
|
private Integer userState;
|
||||||
|
private Integer userType;
|
||||||
private String userUKey;
|
private String userUKey;
|
||||||
private Integer loginType;
|
private Integer loginType;
|
||||||
private String dataRight;
|
private String dataRight;
|
||||||
@ -309,6 +311,22 @@ public class LoginUser implements UserDetails, CredentialsContainer {
|
|||||||
this.userEmail = userEmail;
|
this.userEmail = userEmail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Integer getUserState() {
|
||||||
|
return userState == null ? 0 : userState;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserState(Integer userState) {
|
||||||
|
this.userState = userState;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getUserType() {
|
||||||
|
return userType == null ? 0 : userType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserType(Integer userType) {
|
||||||
|
this.userType = userType;
|
||||||
|
}
|
||||||
|
|
||||||
public String getUserUKey() {
|
public String getUserUKey() {
|
||||||
return userUKey == null ? "" : userUKey.trim();
|
return userUKey == null ? "" : userUKey.trim();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user