feat: 增加系统配置
增加系统配置功能
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.youlai.system.common.constant;
|
||||
|
||||
/**
|
||||
* Redis Key常量
|
||||
*
|
||||
* @author Theo
|
||||
* @since 2024-7-29 11:46:08
|
||||
*/
|
||||
public interface RedisKeyConstants {
|
||||
|
||||
/**
|
||||
* 系统配置Redis-key
|
||||
*/
|
||||
String SYSTEM_CONFIG_KEY = "system:config";
|
||||
}
|
||||
@@ -2,6 +2,7 @@ package com.youlai.system.common.constant;
|
||||
|
||||
/**
|
||||
* 符号和特殊符号常用类
|
||||
*
|
||||
* @author Theo
|
||||
* @since 2024-7-29 11:46:08
|
||||
*/
|
||||
|
||||
@@ -23,4 +23,15 @@ public interface SystemConstants {
|
||||
* 超级管理员角色编码
|
||||
*/
|
||||
String ROOT_ROLE_CODE = "ROOT";
|
||||
|
||||
/**
|
||||
* 未删除状态
|
||||
*/
|
||||
Integer NOT_DELETED_STATUS = 0;
|
||||
|
||||
/**
|
||||
* 删除状态
|
||||
*/
|
||||
Integer DELETED_STATUS = 1;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user