feat: 增加系统配置
增加系统配置功能
This commit is contained in:
@@ -29,6 +29,14 @@ public interface SysConfigService extends IService<SysConfig> {
|
||||
*/
|
||||
boolean save(ConfigForm sysConfigForm);
|
||||
|
||||
/**
|
||||
* 获取系统配置表单数据
|
||||
*
|
||||
* @param id 系统配置ID
|
||||
* @return
|
||||
*/
|
||||
ConfigForm getConfigFormData(Long id);
|
||||
|
||||
/**
|
||||
* 编辑系统配置
|
||||
* @param id 系统配置ID
|
||||
@@ -44,4 +52,18 @@ public interface SysConfigService extends IService<SysConfig> {
|
||||
*/
|
||||
boolean delete(Long ids);
|
||||
|
||||
|
||||
/**
|
||||
* 刷新系统配置缓存
|
||||
* @return 是否刷新成功
|
||||
*/
|
||||
boolean refreshCache();
|
||||
|
||||
/**
|
||||
* 获取系统配置
|
||||
* @param key 配置key
|
||||
* @return 配置value
|
||||
*/
|
||||
Object getSystemConfig(String key);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user