From 87532065ba0c304817c31628ebb1000f4e308f12 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期六, 02 四月 2022 19:30:24 +0800
Subject: [PATCH] 功能完善

---
 app/src/main/java/com/yeshi/makemoney/app/entity/config/SystemConfigKey.java |   48 ++++++++++++++++++++++++++++++------------------
 1 files changed, 30 insertions(+), 18 deletions(-)

diff --git a/app/src/main/java/com/yeshi/makemoney/app/entity/config/SystemConfigKey.java b/app/src/main/java/com/yeshi/makemoney/app/entity/config/SystemConfigKey.java
index 8b14a25..111e46f 100644
--- a/app/src/main/java/com/yeshi/makemoney/app/entity/config/SystemConfigKey.java
+++ b/app/src/main/java/com/yeshi/makemoney/app/entity/config/SystemConfigKey.java
@@ -8,35 +8,47 @@
  */
 public enum SystemConfigKey {
 
-    signKey("绛惧悕Key"),
-    defaultPortrait("榛樿澶村儚"),
-    defaultNickNamePrefix("榛樿鏄电О鍓嶇紑"),
-    wxAppId("寰俊寮�鏀惧钩鍙癆PPId"),
-    wxAppSecret("寰俊寮�鏀惧钩鍙癆PPSecret"),
-    aliyunOneKeyAuthAcessKey("闃块噷浜戜竴閿櫥褰昦ppId"),
-    aliyunOneKeyAuthAcessSecret("闃块噷浜戜竴閿櫥褰昦ppSecret"),
-    tencentSMSAppId("鑵捐浜戠煭淇PPID"),
-    tencentSMSAppKey("鑵捐浜戠煭淇PPKey"),
-    tencentVerifySMSTemplate("鑵捐浜戦獙璇佺爜鐭俊妯℃澘"),
-    testAccount("娴嬭瘯璐﹀彿"),
+    signKey(SystemConfigType.system, "绛惧悕Key"),
+    defaultPortrait(SystemConfigType.system, "榛樿澶村儚"),
+    defaultNickNamePrefix(SystemConfigType.system, "榛樿鏄电О鍓嶇紑"),
+    wxAppId(SystemConfigType.system, "寰俊寮�鏀惧钩鍙癆PPId"),
+    wxAppSecret(SystemConfigType.system, "寰俊寮�鏀惧钩鍙癆PPSecret"),
+    aliyunOneKeyAuthAcessKey(SystemConfigType.system, "闃块噷浜戜竴閿櫥褰昦ppId"),
+    aliyunOneKeyAuthAcessSecret(SystemConfigType.system, "闃块噷浜戜竴閿櫥褰昦ppSecret"),
+    tencentSMSAppId(SystemConfigType.system, "鑵捐浜戠煭淇PPID"),
+    tencentSMSAppKey(SystemConfigType.system, "鑵捐浜戠煭淇PPKey"),
+    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;
     }
 

--
Gitblit v1.8.0