From b597c0c312f3f570c257c5af8706ad94d893e143 Mon Sep 17 00:00:00 2001 From: LQS <2506203757@qq.com> Date: Thu, 8 Aug 2024 16:51:41 +0800 Subject: [PATCH] =?UTF-8?q?fix():=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cloud/pay/service/impl/OrderPayCustomerServiceImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cloud-pay-server/src/main/java/com/muyu/cloud/pay/service/impl/OrderPayCustomerServiceImpl.java b/cloud-pay-server/src/main/java/com/muyu/cloud/pay/service/impl/OrderPayCustomerServiceImpl.java index e9274ae..4ee4e7a 100644 --- a/cloud-pay-server/src/main/java/com/muyu/cloud/pay/service/impl/OrderPayCustomerServiceImpl.java +++ b/cloud-pay-server/src/main/java/com/muyu/cloud/pay/service/impl/OrderPayCustomerServiceImpl.java @@ -13,6 +13,7 @@ import com.muyu.cloud.pay.service.OrderPayService; import com.muyu.common.nacos.service.NacosServerService; import lombok.extern.log4j.Log4j2; import org.apache.commons.lang3.StringUtils; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.annotation.Resource; import java.util.List; @@ -25,10 +26,10 @@ public class OrderPayCustomerServiceImpl extends ServiceImpl implements OrderPayCustomerService { - @Resource(type = OrderPayServiceImpl.class) + @Autowired private OrderPayService orderPayService; - @Resource + @Autowired private NacosServerService nacosServerService;