From 7c30dd00412f3d4199d12a10ef068e08642a8932 Mon Sep 17 00:00:00 2001 From: sangelxiu1 <15781802@163.com> Date: Thu, 10 Jul 2025 09:45:36 +0800 Subject: [PATCH] =?UTF-8?q?##=20Fix=20-=20=E6=94=AF=E4=BB=98=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=E5=9C=B0=E5=9D=80&=E6=8F=90=E7=8E=B0=E9=A9=B3?= =?UTF-8?q?=E5=9B=9E=E8=BF=94=E5=9B=9E=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/CuMemberWithdrawServiceImpl.java | 12 ++++++++++++ bd-third/src/main/resources/bootstrap.yml | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/bd-business/bd-business-member/src/main/java/com/hzs/member/account/service/impl/CuMemberWithdrawServiceImpl.java b/bd-business/bd-business-member/src/main/java/com/hzs/member/account/service/impl/CuMemberWithdrawServiceImpl.java index e1d9272e..7288bb72 100644 --- a/bd-business/bd-business-member/src/main/java/com/hzs/member/account/service/impl/CuMemberWithdrawServiceImpl.java +++ b/bd-business/bd-business-member/src/main/java/com/hzs/member/account/service/impl/CuMemberWithdrawServiceImpl.java @@ -25,6 +25,7 @@ import com.hzs.common.domain.member.ext.CuMemberAccountExt; import com.hzs.common.domain.system.config.*; import com.hzs.common.domain.system.config.ext.BdWithdrawalTaxExt; import com.hzs.common.security.utils.SecurityUtils; +import com.hzs.member.account.dto.BusinessCommissionDTO; import com.hzs.member.account.dto.CuMemberAccountParam; import com.hzs.member.account.dto.MemberAccountAudit; import com.hzs.member.account.mapper.CuMemberWithdrawMapper; @@ -790,6 +791,17 @@ public class CuMemberWithdrawServiceImpl extends ServiceImpl cuMemberWithdrawList = baseMapper.selectList(wrapper); + Integer pkCountry = SecurityUtils.getPkCountry(); + if(CollUtil.isNotEmpty(cuMemberWithdrawList)){ + for (CuMemberWithdraw cuMemberWithdraw : cuMemberWithdrawList) { + BusinessCommissionDTO businessCommissionDTO = BusinessCommissionDTO.builder() + .tradeCode(cuMemberWithdraw.getWithdrawCode()).pkCountry(pkCountry) + .tradeType(EApprovalBusiness.WITHDRAWAL.getValue()) + .pkCreator(SecurityUtils.getUserId()).build(); + cuMemberTradeService.businessCommissionReject(businessCommissionDTO); + } + } } } diff --git a/bd-third/src/main/resources/bootstrap.yml b/bd-third/src/main/resources/bootstrap.yml index f35322a9..c75322a8 100644 --- a/bd-third/src/main/resources/bootstrap.yml +++ b/bd-third/src/main/resources/bootstrap.yml @@ -141,10 +141,10 @@ jd: # pageBackUrl: https://t-app.beida666.com/prod-api/pay/jd/sync-notify pageBackUrl: http://t-app.beida777.com/#/pages/pay/success ## 支付回调地址 - notifyUrl: https://cce9-123-235-100-33.ngrok-free.app/pay/jd/trade-notify + notifyUrl: https://t-app.beida777.com/pay/jd/trade-notify # notifyUrl: https://b747-218-57-66-5.ngrok-free.app/pay/jd/trade-notify ## 退款回调地下 - refundNotifyUrl: https://cce9-123-235-100-33.ngrok-free.app/pay/jd-refund/trade-notify + refundNotifyUrl: https://t-app.beida777.com/pay/jd-refund/trade-notify # refundNotifyUrl: https://b747-218-57-66-5.ngrok-free.app/pay/jd-refund/trade-notify separateAccounts: - account: 153428607011