admin
2019-09-18 b19d2e730b0ea707b500b307f58c46ba0cef695f
fanli/src/main/java/com/yeshi/fanli/controller/client/v1/ConfigController.java
@@ -77,13 +77,16 @@
   private UserActiveLogService userActiveLogService;
   /**
    * 首页配置信息
    * s 首页配置信息
    * 
    * @param acceptData
    * @param out
    */
   @RequestMapping(value = "getHomeConfig", method = RequestMethod.POST)
   public void getHomeConfig(AcceptData acceptData, Long uid, PrintWriter out) {
      if (uid != null && uid == 0L)
         uid = null;
      AppHomeFloatImg appHomeFloatImg = configService.getAppHomeFloatImg();
      if ("ios".equalsIgnoreCase(acceptData.getPlatform()) && !Constant.IS_TEST) {
         appHomeFloatImg = null;
@@ -279,7 +282,8 @@
         data.put("serviceProtocolLink", serviceProtocol);
         data.put("privacyProtocolLink", privacyProtocol);
         // 购物车跳转方式(包含jumpDetail与params)
         JSONObject source = JSONObject.fromObject(configService.get("taobao_cart_jump_detail"));
         JSONObject source = JSONObject.fromObject(configService.getByVersion("taobao_cart_jump_detail",
               acceptData.getPlatform(), Integer.parseInt(acceptData.getVersion())));
         data.put("taoBaoCart", source);
         out.print(JsonUtil.loadTrueResult(data));
      } catch (Exception e) {
@@ -345,7 +349,19 @@
                  "android".equalsIgnoreCase(acceptData.getPlatform()) ? 1 : 2);
         }
      });
   }
   /**
    * 获取邀请码帮助链接
    *
    * @param acceptData
    * @param out
    */
   @RequestMapping(value = "getInviteCodeInputHelp", method = RequestMethod.POST)
   public void getInviteCodeInputHelp(AcceptData acceptData, PrintWriter out) {
      JSONObject data = new JSONObject();
      data.put("helpUrl", configService.get("invite_code_input_help"));
      out.print(JsonUtil.loadTrueResult(data));
   }
}