From 50f520b59d1a8a58dd26ee72326f612beefc0df2 Mon Sep 17 00:00:00 2001 From: sangelxiu1 <15781802@163.com> Date: Fri, 4 Jul 2025 17:12:31 +0800 Subject: [PATCH] =?UTF-8?q?##=20Opt=20-=20=E9=80=80=E6=AC=BE=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hzs/third/pay/service/impl/RefundServiceImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bd-third/src/main/java/com/hzs/third/pay/service/impl/RefundServiceImpl.java b/bd-third/src/main/java/com/hzs/third/pay/service/impl/RefundServiceImpl.java index 70324f37..83accf53 100644 --- a/bd-third/src/main/java/com/hzs/third/pay/service/impl/RefundServiceImpl.java +++ b/bd-third/src/main/java/com/hzs/third/pay/service/impl/RefundServiceImpl.java @@ -2,7 +2,6 @@ package com.hzs.third.pay.service.impl; import cn.hutool.json.JSONUtil; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; -import com.hzs.common.core.domain.R; import com.hzs.common.core.enums.*; import com.hzs.common.core.utils.CommonUtil; import com.hzs.common.core.utils.DateUtils; @@ -14,6 +13,7 @@ import com.hzs.common.domain.third.pay.TOnlineRefund; import com.hzs.common.domain.third.pay.ext.TOnlineRefundExt; import com.hzs.sale.refund.ISaRefundServiceApi; import com.hzs.third.pay.config.AllInPayConfig; +import com.hzs.third.pay.config.JdPayBankProperties; import com.hzs.third.pay.config.JdPayConfig; import com.hzs.third.pay.config.JdPayWechatAlipayProperties; import com.hzs.third.pay.constants.AllInPayConstants; @@ -56,8 +56,8 @@ public class RefundServiceImpl implements IRefundService { @Resource(name = "jdPayBank") private JdPay jdPay; - @Resource - private JdPayWechatAlipayProperties jdPayWechatAlipayProperties; + @Autowired + private JdPayBankProperties jdPayBankProperties; @Autowired private ITOnlinePaymentService itOnlinePaymentService; @@ -376,7 +376,7 @@ public class RefundServiceImpl implements IRefundService { // 货币种类 .currency("CNY") // 退款回调地址 - .notifyUrl(jdPayWechatAlipayProperties.getRefundNotifyUrl()) + .notifyUrl(jdPayBankProperties.getRefundNotifyUrl()) // 回传信息 // .returnParams("") .build(); @@ -432,7 +432,7 @@ public class RefundServiceImpl implements IRefundService { .currency("CNY") .tradeDate(now) .returnParams("") - .notifyUrl(jdPayWechatAlipayProperties.getRefundNotifyUrl()) + .notifyUrl(jdPayBankProperties.getRefundNotifyUrl()) .build(); JdPayDivisionAccountRefund divisionAccountRefund = new JdPayDivisionAccountRefund();