【功能新增】INFRA:增加 ConfigApi,支持参数配置的读取

This commit is contained in:
YunaiV
2024-07-20 17:55:06 +08:00
parent c2de3d5ea9
commit 9f86ef862d
5 changed files with 70 additions and 10 deletions

View File

@ -0,0 +1,18 @@
package cn.iocoder.yudao.module.infra.api.config;
/**
* 参数配置 API 接口
*
* @author 芋道源码
*/
public interface ConfigApi {
/**
* 根据参数键查询参数值
*
* @param key 参数键
* @return 参数值
*/
String getConfigValueByKey(String key);
}