mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-05-11 22:32:11 +08:00
update 统一框架所有主键id均使用雪花id
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package org.dromara.common.core.constant;
|
||||
|
||||
/**
|
||||
* 用户常量信息
|
||||
* 系统常量信息
|
||||
*
|
||||
* @author Lion Li
|
||||
*/
|
||||
@@ -18,25 +18,15 @@ public interface SystemConstants {
|
||||
String DISABLE = "1";
|
||||
|
||||
/**
|
||||
* 是否为系统默认(是)
|
||||
* 是
|
||||
*/
|
||||
String YES = "Y";
|
||||
|
||||
/**
|
||||
* 是否为系统默认(否)
|
||||
* 否
|
||||
*/
|
||||
String NO = "N";
|
||||
|
||||
/**
|
||||
* 是否菜单外链(是)
|
||||
*/
|
||||
String YES_FRAME = YES;
|
||||
|
||||
/**
|
||||
* 是否菜单外链(否)
|
||||
*/
|
||||
String NO_FRAME = NO;
|
||||
|
||||
/**
|
||||
* 菜单类型(目录)
|
||||
*/
|
||||
@@ -68,12 +58,17 @@ public interface SystemConstants {
|
||||
String INNER_LINK = "InnerLink";
|
||||
|
||||
/**
|
||||
* 超级管理员ID
|
||||
* 超级管理员用户ID
|
||||
*/
|
||||
Long SUPER_ADMIN_ID = 1L;
|
||||
Long SUPER_ADMIN_USER_ID = 1761100000000000001L;
|
||||
|
||||
/**
|
||||
* 超级管理员角色标识
|
||||
* 超级管理员角色ID
|
||||
*/
|
||||
Long SUPER_ADMIN_ROLE_ID = 1761300000000000001L;
|
||||
|
||||
/**
|
||||
* 超级管理员角色 roleKey
|
||||
*/
|
||||
String SUPER_ADMIN_ROLE_KEY = "superadmin";
|
||||
|
||||
@@ -82,9 +77,15 @@ public interface SystemConstants {
|
||||
*/
|
||||
String ROOT_DEPT_ANCESTORS = "0";
|
||||
|
||||
/**
|
||||
* 默认部门 ID
|
||||
*/
|
||||
Long DEFAULT_DEPT_ID = 1761000000000000100L;
|
||||
|
||||
/**
|
||||
* 排除敏感属性字段
|
||||
*/
|
||||
String[] EXCLUDE_PROPERTIES = { "password", "oldPassword", "newPassword", "confirmPassword" };
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user