update 优化 是否为管理员的判断

This commit is contained in:
konbai
2022-02-19 15:13:32 +08:00
committed by 疯狂的狮子Li
parent d53dc28b83
commit 2917d335bc
10 changed files with 21 additions and 22 deletions

View File

@ -109,4 +109,10 @@ public interface UserConstants {
*/
int PASSWORD_MIN_LENGTH = 5;
int PASSWORD_MAX_LENGTH = 20;
/**
* 管理员ID
*/
Long ADMIN_ID = 1L;
}