This commit is contained in:
张良(004796)
2024-03-13 17:26:49 +08:00
parent 367ea437a2
commit daa95dd756
2 changed files with 6 additions and 6 deletions

View File

@@ -8,16 +8,16 @@ import javax.validation.constraints.NotEmpty;
@Data
@Schema(description = "登陆入参模型")
public class LoginUser {
@Schema(description = "登陆类型")
@Schema(description = "登陆类型 1-手机验证码登陆 2-密码登陆")
@NotEmpty(message = "1-手机验证码登陆 2-密码登陆")
private Integer loginType = 1;
@Schema(description = "登陆账号")
@Schema(description = "登陆账号(手机号码)")
@NotEmpty(message = "手机号不能为空")
private String username;
@Schema(description = "密码")
@Schema(description = "密码(密码登陆专用)")
private String password;
@Schema(description = "登陆验证码")
@Schema(description = "登陆验证码(手机验证码登陆专用)")
private String code;
@Schema(description = "邀请码")
@Schema(description = "邀请码(手机验证码登陆的时候,如果用户未注册会自动注册,可以输入邀请码)")
private String inviteCode;
}