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/GoodsController.java | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/GoodsController.java b/fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/GoodsController.java index 7b78c2d..7414fa4 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/GoodsController.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/wxmp/v1/GoodsController.java @@ -39,6 +39,7 @@ import com.yeshi.fanli.entity.goods.CollectionGoodsV2; import com.yeshi.fanli.entity.jd.JDGoods; import com.yeshi.fanli.entity.jd.JDGoodsClass; +import com.yeshi.fanli.entity.system.ConfigKeyEnum; import com.yeshi.fanli.exception.share.UserShareGoodsRecordException; import com.yeshi.fanli.exception.user.UserInfoExtraException; import com.yeshi.fanli.log.LogHelper; @@ -149,7 +150,7 @@ @RequestMapping(value = "getTopCategory", method = RequestMethod.POST) public void getTopCategory(WXMPAcceptData acceptData, PrintWriter out) { JSONObject data = new JSONObject(); - data.put("list", configService.get("jd_wxmp_class")); + data.put("list", configService.get(ConfigKeyEnum.jdWXMPClass.getKey())); out.print(JsonUtil.loadTrueResult(data)); } @@ -365,7 +366,7 @@ List<ShamUser> listShareUser = new ArrayList<ShamUser>(); // 浜笢寮�鍚垎浜� - String open = configService.get("share_jd_open"); + String open = configService.get(ConfigKeyEnum.shareOpenJD.getKey()); if ("1".equals(open.trim())) { extraVO.setShareValid(true); MoneyInfoVO moneyInfo = goodsDetail.getMoneyInfo(); @@ -409,7 +410,7 @@ extraVO.setFanliValid(true); if (StringUtil.isNullOrEmpty(helpLink)) { - helpLink = configService.get("no_rebate_help_link"); + helpLink = configService.get(ConfigKeyEnum.noRebateHelpLink.getKey()); } ShareVO shareInfoVO = new ShareVO(); @@ -476,7 +477,7 @@ } GoodsDetailExtraVO extraVO = new GoodsDetailExtraVO(); - extraVO.setDetailUrl("http://apph5.yeshitv.com/apppage/goods_img_pdd.html?id=" + id); + extraVO.setDetailUrl("http://apph5.banliapp.com/apppage/goods_img_pdd.html?id=" + id); String salesTip = pddGoods.getSalesTip(); if (!StringUtil.isNullOrEmpty(salesTip)) { @@ -532,7 +533,7 @@ extraVO.setShareValid(true); if (StringUtil.isNullOrEmpty(helpLink)) { - helpLink = configService.get("no_rebate_help_link"); + helpLink = configService.get(ConfigKeyEnum.noRebateHelpLink.getKey()); } ShareVO shareInfoVO = new ShareVO(); -- Gitblit v1.8.0