From c8f11c229b87d1652b6da0b15576c166cd51eb8b Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 01 一月 2020 14:25:22 +0800 Subject: [PATCH] 首页悬浮图mapperbug修改,增加商品详情中的比例展示 --- fanli/src/main/java/com/yeshi/fanli/controller/client/v1/InviteGetMoneyController.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v1/InviteGetMoneyController.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v1/InviteGetMoneyController.java index f6b198e..235d4ff 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v1/InviteGetMoneyController.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v1/InviteGetMoneyController.java @@ -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,6 +170,7 @@ * @throws NotExistObjectException * @throws IOException */ + @RequestSerializableByKey(key = "'listInviteFriendImg-'+#uid") @RequestMapping(value = "/listInviteFriendImg", method = RequestMethod.POST) public void listInviteFriendImg(AcceptData acceptData, Long uid, PrintWriter out, HttpServletRequest request) throws NotExistObjectException, IOException { -- Gitblit v1.8.0