From a2a88a5589c027a4f3a8238b4f0adec2bbdd5fdc Mon Sep 17 00:00:00 2001 From: DongZeLiang <2746733890@qq.com> Date: Sat, 3 Aug 2024 10:41:27 +0800 Subject: [PATCH] =?UTF-8?q?feat():=20=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cloud/pay/controller/OrderPayCustomerController.java | 2 -- .../cloud/pay/service/impl/OrderPayCustomerServiceImpl.java | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/cloud-pay-server/src/main/java/com/muyu/cloud/pay/controller/OrderPayCustomerController.java b/cloud-pay-server/src/main/java/com/muyu/cloud/pay/controller/OrderPayCustomerController.java index 3747b1e..fb09bd8 100644 --- a/cloud-pay-server/src/main/java/com/muyu/cloud/pay/controller/OrderPayCustomerController.java +++ b/cloud-pay-server/src/main/java/com/muyu/cloud/pay/controller/OrderPayCustomerController.java @@ -8,8 +8,6 @@ import com.muyu.common.core.domain.Result; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.tags.Tag; -import lombok.AllArgsConstructor; -import lombok.RequiredArgsConstructor; import lombok.extern.log4j.Log4j2; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.validation.annotation.Validated; 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 4e0efab..cacd501 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 @@ -11,8 +11,8 @@ import com.muyu.cloud.pay.service.OrderPayCustomerService; import com.muyu.cloud.pay.service.OrderPayService; 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.List; @@ -31,10 +31,10 @@ public class OrderPayCustomerServiceImpl extends ServiceImpl implements OrderPayCustomerService { - @Resource(type = OrderPayServiceImpl.class) + @Autowired private OrderPayService orderPayService; - @Resource + @Autowired private NacosServerService nacosServerService; /**