yujian
2020-01-18 f4a0f2acc63d7785eab108419a4e16f5f688cb95
fanli/src/main/java/com/yeshi/fanli/controller/client/v1/InviteGetMoneyController.java
@@ -20,6 +20,7 @@
import com.yeshi.fanli.entity.bus.user.ThreeSale;
import com.yeshi.fanli.entity.bus.user.UserInfo;
import com.yeshi.fanli.entity.system.BusinessSystem;
import com.yeshi.fanli.entity.system.ConfigKeyEnum;
import com.yeshi.fanli.entity.system.SystemClientParams;
import com.yeshi.fanli.exception.NotExistObjectException;
import com.yeshi.fanli.exception.user.UserInfoExtraException;
@@ -136,7 +137,7 @@
         data.put("topBanner", pictureJson);
      }
      data.put("desc", configService.get("invite_desc"));
      data.put("desc", configService.get(ConfigKeyEnum.inviteDesc.getKey()));
      boolean hasCode = false;
      if (uid != null && uid.trim().length() > 0) {
@@ -148,7 +149,7 @@
      // 邀请激活链接
      if (!hasCode) {
         data.put("activationlink", configService.get("invite_activation_url"));
         data.put("activationlink", configService.get(ConfigKeyEnum.inviteActivationUrl.getKey()));
      }
      data.put("hasCode", hasCode);
@@ -201,7 +202,7 @@
      String valueN = values.getValue();
      String valueBr = valueN.replace("\n", "<br><br>");
      data.put("helpLink", configService.get("invite_help_link"));
      data.put("helpLink", configService.get(ConfigKeyEnum.inviteHelpLink.getKey()));
      data.put("inviteRules", valueBr);
      out.print(JsonUtil.loadTrue(0, JsonUtil.getSimpleGson().toJson(data), "成功"));
@@ -216,7 +217,7 @@
   @RequestMapping(value = "getActivationTip")
   public void getActivationTip(AcceptData acceptData, String callback, PrintWriter out) {
      try {
         String tip = configService.get("invite_activation_tip");
         String tip = configService.get(ConfigKeyEnum.inviteActivationTip.getKey());
         if (tip == null || tip.trim().length() == 0) {
            JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("暂无提醒"));
            return;
@@ -315,7 +316,7 @@
            JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("邀请码不存在"));
            return;
         }
         String tip = configService.get("invite_activation_success_tip");
         String tip = configService.get(ConfigKeyEnum.inviteActivationSuccessTip.getKey());
         JSONObject data = new JSONObject();
         data.put("inviteCode", inviteCode);