上传报错修复
员工账号登录修改
This commit is contained in:
@@ -4,8 +4,12 @@ import jakarta.validation.constraints.NotEmpty;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
|
||||
public record SysLoginDTO(
|
||||
/*
|
||||
商户账号
|
||||
*/
|
||||
@NotEmpty(message = "用户名不为空")
|
||||
String username, // 用户名
|
||||
String username,
|
||||
String staffUserName,
|
||||
@NotEmpty(message = "密码不为空")
|
||||
String password, // 密码
|
||||
@NotEmpty(message = "验证码不为空")
|
||||
|
||||
@@ -21,7 +21,7 @@ public class ShopStaffAddDTO {
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 登录账号
|
||||
* 登录账号 账号前缀会加上店铺id@
|
||||
*/
|
||||
@NotEmpty(message = "登录账号不为空")
|
||||
private String accountName;
|
||||
|
||||
Reference in New Issue
Block a user