feat: 新增验证码和代码优化重构
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.youlai.system.common.constant;
|
||||
|
||||
/**
|
||||
* Redis 缓存常量
|
||||
*
|
||||
* @author: haoxr
|
||||
* @date: 2023/03/24
|
||||
*/
|
||||
public interface CacheConstants {
|
||||
|
||||
/**
|
||||
* 验证码缓存前缀
|
||||
*/
|
||||
String VERIFY_CODE_CACHE_PREFIX = "AUTH:VERIFY_CODE:";
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.youlai.system.common.constant;
|
||||
|
||||
/**
|
||||
* Excel 常量
|
||||
*
|
||||
* @author: haoxr
|
||||
* @date: 2023/03/24
|
||||
*/
|
||||
public interface ExcelConstants {
|
||||
|
||||
/**
|
||||
* Excel 模板目录
|
||||
*/
|
||||
String EXCEL_TEMPLATE_DIR="excel-templates";
|
||||
|
||||
}
|
||||
@@ -23,4 +23,6 @@ public interface SystemConstants {
|
||||
* 超级管理员角色编码
|
||||
*/
|
||||
String ROOT_ROLE_CODE = "ROOT";
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user