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;