feat():更改auto以及启动类

master
86191 2024-08-04 16:06:35 +08:00
parent 4ae4d20d83
commit 4fe783a6ae
3 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,6 @@
package com.muyu.cloud.pay;
import com.dtflys.forest.springboot.annotation.ForestScan;
import com.muyu.common.security.annotation.EnableCustomConfig;
import com.muyu.common.security.annotation.EnableMyFeignClients;
import lombok.extern.slf4j.Slf4j;

View File

@ -1,5 +1,6 @@
package com.muyu.cloud.pay.controller;
import com.dtflys.forest.springboot.annotation.ForestScannerRegister;
import com.muyu.cloud.pay.domain.OrderPayCustomer;
import com.muyu.cloud.pay.domain.req.CustomerListReq;
import com.muyu.cloud.pay.domain.resp.CustomerResp;
@ -22,6 +23,12 @@ import java.util.List;
@Tag(name = "客户控制层", description = "进行客户管理、查看等相关操作")
public class OrderPayCustomerController {
public OrderPayCustomerController(){
log.info("forest扫描路径:{}", ForestScannerRegister.getBasePackages());
}
/**
*
*/

View File

@ -24,10 +24,10 @@ import java.util.stream.Collectors;
@Service
public class OrderPayCustomerServiceImpl extends ServiceImpl<OrderPayCustomerMapper, OrderPayCustomer> implements OrderPayCustomerService {
@Resource(type = OrderPayServiceImpl.class)
@Autowired
private OrderPayService orderPayService;
@Resource
@Autowired
private NacosService nacosService;