登录增加验证码切换

This commit is contained in:
2026-04-06 23:02:59 +08:00
parent dd1bda704f
commit fae01fdf43
4 changed files with 19 additions and 5 deletions

View File

@@ -8,4 +8,5 @@ import lombok.Data;
public class UserPrincipal {
private Long userId;
private String username;
private String role; // admin-管理员, user-普通用户
}