admin
2020-01-01 c8f11c229b87d1652b6da0b15576c166cd51eb8b
fanli/src/main/java/com/yeshi/fanli/controller/client/v1/InviteGetMoneyController.java
@@ -7,6 +7,7 @@
import java.util.List;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -18,7 +19,6 @@
import com.yeshi.fanli.entity.bus.homemodule.SwiperPicture;
import com.yeshi.fanli.entity.bus.user.ThreeSale;
import com.yeshi.fanli.entity.bus.user.UserInfo;
import com.yeshi.fanli.entity.bus.user.UserInfoExtra;
import com.yeshi.fanli.entity.system.BusinessSystem;
import com.yeshi.fanli.entity.system.SystemClientParams;
import com.yeshi.fanli.exception.NotExistObjectException;
@@ -126,7 +126,7 @@
      data.put("activityRules", valueBr);
      data.put("inviteList", String.format("http://%s/%s/client/share/friends_new.html",
            Constant.systemCommonConfig.getProjectHost(), Constant.systemCommonConfig.getProjectName()));
      List<SwiperPicture> pictureList = swiperPictureService.getByBannerCard("invite_top_banner");
      List<SwiperPicture> pictureList = swiperPictureService.getByBannerCardAndVersion("invite_top_banner",acceptData.getPlatform(), Integer.parseInt(acceptData.getVersion()));
      if (pictureList != null && pictureList.size() > 0) {
         SwiperPicture picture = pictureList.get(0);
         com.alibaba.fastjson.JSONObject pictureJson = new com.alibaba.fastjson.JSONObject();
@@ -170,12 +170,13 @@
    * @throws NotExistObjectException
    * @throws IOException
    */
   @RequestSerializableByKey(key = "'listInviteFriendImg-'+#uid")
   @RequestMapping(value = "/listInviteFriendImg", method = RequestMethod.POST)
   public void listInviteFriendImg(AcceptData acceptData, Long uid, PrintWriter out)
   public void listInviteFriendImg(AcceptData acceptData, Long uid, PrintWriter out, HttpServletRequest request)
         throws NotExistObjectException, IOException {
      JSONObject data = new JSONObject();
      if (uid != null && !uid.equals("0")) {
         List<String> imgList = spreadUserImgService.getUserSpreadImg(uid);
         List<String> imgList = spreadUserImgService.getUserSpreadImg(uid, request);
         data.put("imgUrlList", JsonUtil.getSimpleGsonWithDate().toJson(imgList));
      }