LoginUser

This commit is contained in:
sxu 2025-02-13 12:29:06 +08:00
parent 5c46216594
commit 3222e11312
9 changed files with 38 additions and 61 deletions

View File

@ -60,24 +60,17 @@ public class LoginUser implements Serializable
*/ */
private SysUser sysUser; private SysUser sysUser;
@ApiModelProperty("人员id")
@JsonFormat(shape = JsonFormat.Shape.STRING)
private Long custId; private Long custId;
@ApiModelProperty("人员姓名")
private String custName; private String openId;
@ApiModelProperty("人员编号")
private String custNum; private String nickName;
@ApiModelProperty("人脸照片地址")
private String custPhotoUrl; private String photoUrl;
@ApiModelProperty("电话号码")
private String mobile; private String phonenumber;
@ApiModelProperty("登录密码")
private String pwd; private String password;
@ApiModelProperty("")
private Long expireIn;
@ApiModelProperty("是否登录")
private boolean isLogin;
public String getToken() public String getToken()
{ {
@ -177,59 +170,43 @@ public class LoginUser implements Serializable
this.custId = custId; this.custId = custId;
} }
public String getCustName() { public String getOpenId() {
return custName; return openId;
} }
public void setCustName(String custName) { public void setOpenId(String openId) {
this.custName = custName; this.openId = openId;
} }
public String getCustNum() { public String getNickName() {
return custNum; return nickName;
} }
public void setCustNum(String custNum) { public void setNickName(String nickName) {
this.custNum = custNum; this.nickName = nickName;
} }
public String getCustPhotoUrl() { public String getPhotoUrl() {
return custPhotoUrl; return photoUrl;
} }
public void setCustPhotoUrl(String custPhotoUrl) { public void setPhotoUrl(String photoUrl) {
this.custPhotoUrl = custPhotoUrl; this.photoUrl = photoUrl;
} }
public String getMobile() { public String getPhonenumber() {
return mobile; return phonenumber;
} }
public void setMobile(String mobile) { public void setPhonenumber(String phonenumber) {
this.mobile = mobile; this.phonenumber = phonenumber;
} }
public String getPwd() { public String getPassword() {
return pwd; return password;
} }
public void setPwd(String pwd) { public void setPassword(String password) {
this.pwd = pwd; this.password = password;
}
public Long getExpireIn() {
return expireIn;
}
public void setExpireIn(Long expireIn) {
this.expireIn = expireIn;
}
public boolean isLogin() {
return isLogin;
}
public void setLogin(boolean login) {
isLogin = login;
} }
} }

View File

@ -5,7 +5,7 @@ spring:
name: bonus-auth name: bonus-auth
profiles: profiles:
# 环境配置 # 环境配置
active: dev active: smart_canteen_local
#加密组件 #加密组件
jasypt: jasypt:

View File

@ -5,7 +5,7 @@ spring:
name: bonus-gateway name: bonus-gateway
profiles: profiles:
# 环境配置 # 环境配置
active: dev active: smart_canteen_local
#加密组件 #加密组件
jasypt: jasypt:

View File

@ -13,7 +13,7 @@ spring:
name: bonus-face name: bonus-face
profiles: profiles:
# 环境配置 # 环境配置
active: dev active: smart_canteen_local
cloud: cloud:
nacos: nacos:
discovery: discovery:

View File

@ -6,7 +6,7 @@ spring:
profiles: profiles:
# 环境配置 # 环境配置
active: dev active: smart_canteen_local
#加密组件 #加密组件
jasypt: jasypt:

View File

@ -5,7 +5,7 @@ spring:
name: bonus-gen name: bonus-gen
profiles: profiles:
# 环境配置 # 环境配置
active: dev active: smart_canteen_local
#加密组件 #加密组件
jasypt: jasypt:

View File

@ -5,7 +5,7 @@ spring:
name: bonus-job name: bonus-job
profiles: profiles:
# 环境配置 # 环境配置
active: dev active: smart_canteen_local
#加密组件 #加密组件
jasypt: jasypt:

View File

@ -5,7 +5,7 @@ spring:
name: bonus-system name: bonus-system
profiles: profiles:
# 环境配置 # 环境配置
active: dev active: smart_canteen_local
task: task:
scheduling: scheduling:
pool: pool:

View File

@ -5,7 +5,7 @@ spring:
name: bonus-monitor name: bonus-monitor
profiles: profiles:
# 环境配置 # 环境配置
active: dev active: smart_canteen_local
#加密组件 #加密组件
jasypt: jasypt: