From f4a0f2acc63d7785eab108419a4e16f5f688cb95 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 18 一月 2020 12:06:27 +0800 Subject: [PATCH] 用户注册信息 --- fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/RecommendController.java | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/RecommendController.java b/fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/RecommendController.java index 36eb5bf..1b924ab 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/RecommendController.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/RecommendController.java @@ -23,6 +23,7 @@ import com.yeshi.fanli.entity.bus.homemodule.SwiperPicture; import com.yeshi.fanli.entity.common.JumpDetailV2; import com.yeshi.fanli.entity.jd.JDGoods; +import com.yeshi.fanli.entity.system.ConfigKeyEnum; import com.yeshi.fanli.log.LogHelper; import com.yeshi.fanli.service.inter.common.JumpDetailV2Service; import com.yeshi.fanli.service.inter.config.ConfigService; @@ -135,7 +136,7 @@ if (StringUtil.isNullOrEmpty(swiper.getParams())) { params = JSONObject.fromObject(swiper.getParams()); } - swiper.setJumpDetail(JumpDetailUtil.getWXMPJumDetail(swiper.getJumpDetail(), params)); + swiper.setJumpDetail(JumpDetailUtil.getWXMPJumDetail(swiper.getJumpDetail())); swiper.setParams(null); } @@ -155,7 +156,7 @@ params = JSONObject.fromObject(special.getParams()); } - special.setJumpDetail(JumpDetailUtil.getWXMPJumDetail(jumpDetail, params)); + special.setJumpDetail(JumpDetailUtil.getWXMPJumDetail(jumpDetail)); special.setParams(null); } @@ -170,7 +171,7 @@ if (StringUtil.isNullOrEmpty(swiper.getParams())) { params = JSONObject.fromObject(swiper.getParams()); } - swiper.setJumpDetail(JumpDetailUtil.getWXMPJumDetail(swiper.getJumpDetail(), params)); + swiper.setJumpDetail(JumpDetailUtil.getWXMPJumDetail(swiper.getJumpDetail())); swiper.setParams(null); } @@ -307,7 +308,7 @@ public void getGuide(AcceptData acceptData, Long uid, PrintWriter out) { String tips = null; if (uid == null || uid <= 0) { - tips = configService.get("tip_guide_new_user"); + tips = configService.get(ConfigKeyEnum.tipGuideNewUser.getKey()); } else { long rebateOrder = hongBaoV2CountService.countRebateOrder(uid); long shareOrInviteOrder = hongBaoV2CountService.countShareOrInviteOrder(uid); @@ -315,13 +316,13 @@ // 鐔熷鐗� } else if (rebateOrder <= 0 && shareOrInviteOrder <= 0) { // 鏂颁汉鐗� - tips = configService.get("tip_guide_new_user"); + tips = configService.get(ConfigKeyEnum.tipGuideNewUser.getKey()); } else if (rebateOrder > 0 && shareOrInviteOrder <= 0) { // 鐪侀挶鐗� - tips = configService.get("tip_guide_save_money"); + tips = configService.get(ConfigKeyEnum.tipGuideSaveMoney.getKey()); } else { // 璧氶挶鐗� - tips = configService.get("tip_guide_share_invite"); + tips = configService.get(ConfigKeyEnum.tipGuideShareInvite.getKey()); } } -- Gitblit v1.8.0