admin
2022-04-02 87532065ba0c304817c31628ebb1000f4e308f12
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
package com.yeshi.makemoney.app.entity.config;
 
/**
 * @author hxh
 * @title: SystemConfigKey
 * @description: key值
 * @date 2021/11/16 11:22
 */
public enum SystemConfigKey {
 
    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(SystemConfigType.common, "客服链接"),
    course(SystemConfigType.common, "教程链接"),
    unRegister(SystemConfigType.common, "注销链接"),
    privacyComplain(SystemConfigType.common, "隐私投诉链接"),
    vipLink(SystemConfigType.common, "会员链接"),
 
    //资金相关配置
    extractConfig(SystemConfigType.extract, "提现配置"),
    //团队分成比例配置
    teamFirstDivideRate(SystemConfigType.team, "团队一级分成比例(0-1)"),
    teamSecondDivideRate(SystemConfigType.team, "团队二级分成比例(0-1)"),
    ;
 
 
    private String desc;
 
    private SystemConfigType type;
 
    public String getDesc() {
        return desc;
    }
 
    public SystemConfigType getType() {
        return type;
    }
 
    private SystemConfigKey(SystemConfigType type, String desc) {
        this.type = type;
        this.desc = desc;
    }
 
 
}