## Fix - 支付回调地址&提现驳回返回金额
This commit is contained in:
parent
d7b0faff60
commit
7c30dd0041
|
@ -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<CuMemberWithdrawMap
|
|||
withdraw.setApprover(SecurityUtils.getUserId());
|
||||
withdraw.setApproveTime(new Date());
|
||||
baseMapper.update(withdraw, wrapper);
|
||||
List<CuMemberWithdraw> 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue