上传报错修复

员工账号登录修改
This commit is contained in:
张松
2025-02-15 14:34:32 +08:00
parent b5e80c0fc1
commit 2a909f7b26
6 changed files with 33 additions and 4 deletions

View File

@@ -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 = "验证码不为空")

View File

@@ -21,7 +21,7 @@ public class ShopStaffAddDTO {
*/
private String name;
/**
* 登录账号
* 登录账号 账号前缀会加上店铺id@
*/
@NotEmpty(message = "登录账号不为空")
private String accountName;