|
|
@@ -19,7 +19,7 @@ import com.ruoyi.system.service.ISysConfigService;
|
|
|
|
|
|
/**
|
|
|
* 参数配置 服务层实现
|
|
|
- *
|
|
|
+ *
|
|
|
* @author ruoyi
|
|
|
*/
|
|
|
@Service
|
|
|
@@ -42,7 +42,7 @@ public class SysConfigServiceImpl implements ISysConfigService
|
|
|
|
|
|
/**
|
|
|
* 查询参数配置信息
|
|
|
- *
|
|
|
+ *
|
|
|
* @param configId 参数配置ID
|
|
|
* @return 参数配置信息
|
|
|
*/
|
|
|
@@ -57,7 +57,7 @@ public class SysConfigServiceImpl implements ISysConfigService
|
|
|
|
|
|
/**
|
|
|
* 根据键名查询参数配置信息
|
|
|
- *
|
|
|
+ *
|
|
|
* @param configKey 参数key
|
|
|
* @return 参数键值
|
|
|
*/
|
|
|
@@ -82,7 +82,7 @@ public class SysConfigServiceImpl implements ISysConfigService
|
|
|
|
|
|
/**
|
|
|
* 获取验证码开关
|
|
|
- *
|
|
|
+ *
|
|
|
* @return true开启,false关闭
|
|
|
*/
|
|
|
@Override
|
|
|
@@ -98,7 +98,7 @@ public class SysConfigServiceImpl implements ISysConfigService
|
|
|
|
|
|
/**
|
|
|
* 查询参数配置列表
|
|
|
- *
|
|
|
+ *
|
|
|
* @param config 参数配置信息
|
|
|
* @return 参数配置集合
|
|
|
*/
|
|
|
@@ -110,7 +110,7 @@ public class SysConfigServiceImpl implements ISysConfigService
|
|
|
|
|
|
/**
|
|
|
* 新增参数配置
|
|
|
- *
|
|
|
+ *
|
|
|
* @param config 参数配置信息
|
|
|
* @return 结果
|
|
|
*/
|
|
|
@@ -127,7 +127,7 @@ public class SysConfigServiceImpl implements ISysConfigService
|
|
|
|
|
|
/**
|
|
|
* 修改参数配置
|
|
|
- *
|
|
|
+ *
|
|
|
* @param config 参数配置信息
|
|
|
* @return 结果
|
|
|
*/
|
|
|
@@ -150,7 +150,7 @@ public class SysConfigServiceImpl implements ISysConfigService
|
|
|
|
|
|
/**
|
|
|
* 批量删除参数信息
|
|
|
- *
|
|
|
+ *
|
|
|
* @param configIds 需要删除的参数ID
|
|
|
*/
|
|
|
@Override
|
|
|
@@ -203,7 +203,7 @@ public class SysConfigServiceImpl implements ISysConfigService
|
|
|
|
|
|
/**
|
|
|
* 校验参数键名是否唯一
|
|
|
- *
|
|
|
+ *
|
|
|
* @param config 参数配置信息
|
|
|
* @return 结果
|
|
|
*/
|
|
|
@@ -219,9 +219,11 @@ public class SysConfigServiceImpl implements ISysConfigService
|
|
|
return UserConstants.UNIQUE;
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 设置cache key
|
|
|
- *
|
|
|
+ *
|
|
|
* @param configKey 参数键
|
|
|
* @return 缓存键key
|
|
|
*/
|