From 6aec96b19807c170ac0e91a46196fb7374148639 Mon Sep 17 00:00:00 2001 From: chentaisen <14615430+chentaisen@user.noreply.gitee.com> Date: Thu, 8 Aug 2024 20:51:25 +0800 Subject: [PATCH] =?UTF-8?q?feat():=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 40c0571..5bee138 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 @@ -15,6 +15,7 @@ import com.muyu.common.core.utils.StringUtils; import com.muyu.common.nacos.service.NacosServerService; import jakarta.annotation.Resource; import lombok.extern.log4j.Log4j2; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.ArrayList; @@ -34,10 +35,10 @@ import java.util.stream.Collectors; public class OrderPayCustomerServiceImpl extends ServiceImpl implements OrderPayCustomerService { - @Resource(type = OrderPayServiceImpl.class) + @Autowired private OrderPayService orderPayService; - @Resource + @Autowired private NacosServerService nacosServerService;