admin
2022-05-12 fa705507ba574c857b1667553737d23b1b7ff495
src/main/resources/code/service/app/src/main/java/com/ks/app/entity/config/SystemConfigKey.java
@@ -8,32 +8,57 @@
 */
public enum SystemConfigKey {
    signKey("签名Key"),
    defaultPortrait("默认头像"),
    defaultNickNamePrefix("默认昵称前缀"),
    wxAppId("微信开放平台APPId"),
    wxAppSecret("微信开放平台APPSecret"),
    aliyunOneKeyAuthAcessKey("阿里云一键登录appId"),
    aliyunOneKeyAuthAcessSecret("阿里云一键登录appSecret"),
    tencentSMSAppId("腾讯云短信APPID"),
    tencentSMSAppKey("腾讯云短信APPKey"),
    tencentVerifySMSTemplate("腾讯云验证码短信模板"),
    testAccount("测试账号"),
    signKey(SystemConfigType.system, "签名Key"),
    defaultPortrait(SystemConfigType.system, "默认头像"),
    defaultNickNamePrefix(SystemConfigType.system, "默认昵称前缀"),
    wxAppId(SystemConfigType.system, "微信开放平台APPId"),
    wxAppSecret(SystemConfigType.system, "微信开放平台APPSecret"),
    aliyunOneKeyAuthAcessKey(SystemConfigType.system, "阿里云一键登录appId"),
    aliyunOneKeyAuthAcessSecret(SystemConfigType.system, "阿里云一键登录appSecret"),
    tencentSMSAppId(SystemConfigType.system, "腾讯云短信APPID"),
    tencentSMSAppKey(SystemConfigType.system, "腾讯云短信APPKey"),
    tencentVerifySMSTemplate(SystemConfigType.system, "腾讯云验证码短信模板"),
    testAccount(SystemConfigType.system, "测试账号"),
    emailSender(SystemConfigType.system, "发送邮件的账号与密码"),
    appLink(SystemConfigType.system, "应用二合一链接"),
    androidPushAppCode(SystemConfigType.system, "android推送应用编码"),
    androidPushActivity(SystemConfigType.system, "android推送落地页Activity"),
    //返回给前端的数据
    kefu("客服链接"),
    course("教程链接"),
    unRegister("注销链接"),
    privacyComplain("隐私投诉链接"),
    vipLink("会员链接");
    kefu(SystemConfigType.common, "客服链接"),
    course(SystemConfigType.common, "教程链接"),
    unRegister(SystemConfigType.common, "注销链接"),
    privacyComplain(SystemConfigType.common, "隐私投诉链接"),
    helpLink(SystemConfigType.common, "帮助中心链接"),
    disclaimerLink(SystemConfigType.common, "免责声明链接"),
    //广告配置
    splashAd(SystemConfigType.ad, "开屏广告"),
    rewardAd(SystemConfigType.ad, "激励视频广告"),
    exitAppAd(SystemConfigType.ad, "退出应用广告"),
    //资金相关配置
    extractConfig(SystemConfigType.extract, "提现配置"),
    ;
    private String desc;
    private SystemConfigType type;
    public String getDesc() {
        return desc;
    }
    private SystemConfigKey(String desc) {
    public SystemConfigType getType() {
        return type;
    }
    private SystemConfigKey(SystemConfigType type, String desc) {
        this.type = type;
        this.desc = desc;
    }