feat: 增加系统配置

增加系统配置功能
This commit is contained in:
胡少翔
2024-07-30 16:21:10 +08:00
parent 01c1c0807e
commit 5677a6bba0
9 changed files with 166 additions and 21 deletions

View File

@@ -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";
}

View File

@@ -2,6 +2,7 @@ package com.youlai.system.common.constant;
/**
* 符号和特殊符号常用类
*
* @author Theo
* @since 2024-7-29 11:46:08
*/

View File

@@ -23,4 +23,15 @@ public interface SystemConstants {
* 超级管理员角色编码
*/
String ROOT_ROLE_CODE = "ROOT";
/**
* 未删除状态
*/
Integer NOT_DELETED_STATUS = 0;
/**
* 删除状态
*/
Integer DELETED_STATUS = 1;
}