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