admin
2020-04-20 aa43ebe703d3b28520a8b1e4b852b8beb957c5ca
fanli/src/main/java/com/yeshi/fanli/controller/client/v2/UserAccountControllerV2.java
@@ -605,7 +605,7 @@
         if (!StringUtil.isNullOrEmpty(second)) {
            limitSecond = Long.parseLong(second);
         }
      } else if (level == UserInviteLevelEnum.vipPre1) {
      } else if (level == UserInviteLevelEnum.normalVIP) {
         String zigou = userVipConfigService.getValueByKey("vip_pre_7_zigou_order_count");
         if (!StringUtil.isNullOrEmpty(zigou)) {
            limitZiGou = Long.parseLong(zigou);
@@ -622,7 +622,7 @@
         if (!StringUtil.isNullOrEmpty(second)) {
            limitSecond = Long.parseLong(second);
         }
      } else if (level == UserInviteLevelEnum.vipPre2 || level == UserInviteLevelEnum.vipApply) {
      } else if (level == UserInviteLevelEnum.highVIP || level == UserInviteLevelEnum.vipApply) {
         String zigou = userVipConfigService.getValueByKey("vip_pre_10_zigou_order_count");
         if (!StringUtil.isNullOrEmpty(zigou)) {
            limitZiGou = Long.parseLong(zigou);
@@ -686,38 +686,34 @@
         earnMoney = MoneyBigDecimalUtil.mul2(earnMoney, rate);
      }
      
      String school = "板栗学院";
      String platformSubsidy = "补贴返佣 ";
      String teamSubsidy = "会员专属";
      String teamReward = "超级会员专属";
      String shareRate = "可享佣金的<label style=\"color:#E5005C;\">%s</label>";
      String fansRate = "最高佣金的<label style=\"color:#E5005C;\">%s</label>";
      String fansIndirect = "最高佣金的<label style=\"color:#E5005C;\">%s</label>";
      String teamBonus = "团队分红池<label style=\"color:#E5005C;\">%s</label>";
      // 达人版
      JSONObject jsonrRed1 = new JSONObject();
      jsonrRed1.put("platformSubsidy", platformSubsidy + "<label style=\"color:#E5005C;\">52.5%</label>");
      jsonrRed1.put("school", school + "<label style=\"color:#E5005C;\">达人班</label>");
      jsonrRed1.put("teamSubsidy", teamSubsidy);
      jsonrRed1.put("teamReward", teamReward);
      jsonrRed1.put("shareRate", String.format(shareRate, "152%"));
      jsonrRed1.put("fansRate", String.format(fansRate, "22.5%"));
      jsonrRed1.put("fansIndirect", String.format(fansIndirect, "5%"));
      jsonrRed1.put("teamBonus", "高级会员以上专属");
      
      JSONObject jsonrRed2 = new JSONObject();
      jsonrRed2.put("platformSubsidy", platformSubsidy + "<label style=\"color:#E5005C;\">60%</label>");
      jsonrRed2.put("school", school + "<label style=\"color:#E5005C;\">普通班</label>");
      jsonrRed2.put("teamSubsidy", teamSubsidy + "最高<label style=\"color:#E5005C;\">7.5%</label>");
      jsonrRed2.put("teamReward", teamReward);
      jsonrRed2.put("shareRate", String.format(shareRate, "162.5%"));
      jsonrRed2.put("fansRate", String.format(fansRate, "27.5%"));
      jsonrRed2.put("fansIndirect", String.format(fansIndirect, "7.5%"));
      jsonrRed2.put("teamBonus", "高级会员以上专属");
      JSONObject jsonrRed3 = new JSONObject();
      jsonrRed3.put("platformSubsidy", platformSubsidy + "<label style=\"color:#E5005C;\">70%</label>");
      jsonrRed3.put("school", school + "<label style=\"color:#E5005C;\">高级班</label>");
      jsonrRed3.put("teamSubsidy", teamSubsidy + "最高<label style=\"color:#E5005C;\">15%</label>");
      jsonrRed3.put("teamReward", teamReward);
      jsonrRed3.put("shareRate", String.format(shareRate, "170%"));
      jsonrRed3.put("fansRate", String.format(fansRate, "32.5%"));
      jsonrRed3.put("fansIndirect", String.format(fansIndirect, "10%"));
      jsonrRed3.put("teamBonus", String.format(teamBonus, "40%"));
      JSONObject jsonrRed4 = new JSONObject();
      jsonrRed4.put("platformSubsidy", platformSubsidy + "<label style=\"color:#E5005C;\">115%</label>");
      jsonrRed4.put("school", school + "<label style=\"color:#E5005C;\">超级班</label>");
      jsonrRed4.put("teamSubsidy", teamSubsidy + "最高<label style=\"color:#E5005C;\">22.5%</label>");
      jsonrRed4.put("teamReward", teamReward + "最高<label style=\"color:#E5005C;\">40%</label>");
      jsonrRed4.put("shareRate", String.format(shareRate, "225%"));
      jsonrRed4.put("fansRate", String.format(fansRate, "37.5%"));
      jsonrRed4.put("fansIndirect", String.format(fansIndirect, "12.5%"));
      jsonrRed4.put("teamBonus", String.format(teamBonus, "80%"));
      
      
      JSONObject json = new JSONObject();