goupan
2024-04-03 5506e9a45e717ffcb67ec313b5a4e8206d9b3a39
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package cn.stylefeng.roses.kernel.im.api.expander;
 
import cn.hutool.core.util.StrUtil;
import cn.stylefeng.roses.kernel.config.api.context.ConfigContext;
 
/**
 * 短信相关的配置拓展
 */
public class ImConfigExpander {
 
    public static String getRongCouldAppKey() {
        return ConfigContext.me().getSysConfigValueWithDefault("RONG_CLOUD_APP_KEY", String.class, StrUtil.EMPTY);
    }
 
    public static String getRongCouldAppSecret() {
        return ConfigContext.me().getSysConfigValueWithDefault("RONG_CLOUD_APP_SECRET", String.class, StrUtil.EMPTY);
    }
 
}