From 3eaf6f0fc570c34b84c1981db711c75be7069b7f Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期二, 05 九月 2023 09:29:57 +0800 Subject: [PATCH] 修改商家下单商品id为空 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/VolunteerCreditsExchangeServiceImpl.java | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/VolunteerCreditsExchangeServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/VolunteerCreditsExchangeServiceImpl.java index 9300e0c..7ebff49 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/VolunteerCreditsExchangeServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/VolunteerCreditsExchangeServiceImpl.java @@ -156,14 +156,7 @@ return R.fail("商家id不能为空"); } - VolunteerIntegralMerchant goods=goodsService.queryById(item.getGoodsId()); - LoginUserInfoVO loginUserInfoVOR=userService.getUserInfoByUserId(item.getUserId()).getData(); - - if(goods==null) - { - return R.fail("商品不存在"); - } if(StringUtils.isEmpty(item.getPalyIntegral())) { @@ -180,8 +173,6 @@ { return R.fail("剩余积分不足!无法支付"); } - - item.setNeedScore(goods.getIntegral()); if(StringUtils.isEmpty(item.getUserId())) { -- Gitblit v1.7.1