完善c端登录
This commit is contained in:
@@ -1,43 +1,27 @@
|
||||
package com.ruoyi.common.core.domain.entity;
|
||||
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.Getter;
|
||||
|
||||
@Data
|
||||
public class ShopUser {
|
||||
/**
|
||||
* 1 账号密码 2 验证码 3 一键登录
|
||||
*/
|
||||
private int method;
|
||||
@Getter
|
||||
private String username;
|
||||
|
||||
private String password;
|
||||
|
||||
private String phone;
|
||||
|
||||
private Long userId;
|
||||
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
private String uMtoken;
|
||||
|
||||
public void setUsername(String username) {
|
||||
this.username = username;
|
||||
}
|
||||
private String code;
|
||||
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
|
||||
public void setPassword(String password) {
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public Long getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(Long userId) {
|
||||
this.userId = userId;
|
||||
}
|
||||
private String msg;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.ruoyi.common.core.domain.entity;
|
||||
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.Getter;
|
||||
|
||||
@Data
|
||||
public class ShopUserResq {
|
||||
/**
|
||||
* 1 账号密码 2 验证码 3 一键登录
|
||||
*/
|
||||
private String method;
|
||||
|
||||
private String username;
|
||||
|
||||
private String password;
|
||||
|
||||
private String phone;
|
||||
|
||||
private Long userId;
|
||||
|
||||
private String uMtoken;
|
||||
|
||||
private String code;
|
||||
}
|
||||
Reference in New Issue
Block a user