fix 修复 用户篡改管理员角色标识符越权问题

This commit is contained in:
疯狂的狮子Li
2023-06-17 22:38:22 +08:00
parent 45eec24b7f
commit 1e69726d77
2 changed files with 21 additions and 2 deletions

View File

@ -129,4 +129,9 @@ public interface UserConstants {
*/
Long ADMIN_ID = 1L;
/**
* 管理员角色key
*/
String ADMIN_ROLE_KEY = "admin";
}