| | |
| | | */ |
| | | 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, "测试账号"), |
| | | |
| | | //返回给前端的数据 |
| | | kefu("客服链接"), |
| | | course("教程链接"), |
| | | unRegister("注销链接"), |
| | | privacyComplain("隐私投诉链接"), |
| | | vipLink("会员链接"), |
| | | kefu(SystemConfigType.common, "客服链接"), |
| | | course(SystemConfigType.common, "教程链接"), |
| | | unRegister(SystemConfigType.common, "注销链接"), |
| | | privacyComplain(SystemConfigType.common, "隐私投诉链接"), |
| | | vipLink(SystemConfigType.common, "会员链接"), |
| | | |
| | | //资金相关配置 |
| | | extractConfig("提现配置"); |
| | | extractConfig(SystemConfigType.extract, "提现配置"), |
| | | //团队分成比例配置 |
| | | teamFirstDivideRate(SystemConfigType.team, "团队一级分成比例(0-1)"), |
| | | teamSecondDivideRate(SystemConfigType.team, "团队二级分成比例(0-1)"), |
| | | ; |
| | | |
| | | |
| | | 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; |
| | | } |
| | | |