feat():更改auto以及启动类
parent
4ae4d20d83
commit
4fe783a6ae
|
@ -1,5 +1,6 @@
|
||||||
package com.muyu.cloud.pay;
|
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.EnableCustomConfig;
|
||||||
import com.muyu.common.security.annotation.EnableMyFeignClients;
|
import com.muyu.common.security.annotation.EnableMyFeignClients;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package com.muyu.cloud.pay.controller;
|
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.OrderPayCustomer;
|
||||||
import com.muyu.cloud.pay.domain.req.CustomerListReq;
|
import com.muyu.cloud.pay.domain.req.CustomerListReq;
|
||||||
import com.muyu.cloud.pay.domain.resp.CustomerResp;
|
import com.muyu.cloud.pay.domain.resp.CustomerResp;
|
||||||
|
@ -22,6 +23,12 @@ import java.util.List;
|
||||||
@Tag(name = "客户控制层", description = "进行客户管理、查看等相关操作")
|
@Tag(name = "客户控制层", description = "进行客户管理、查看等相关操作")
|
||||||
public class OrderPayCustomerController {
|
public class OrderPayCustomerController {
|
||||||
|
|
||||||
|
|
||||||
|
public OrderPayCustomerController(){
|
||||||
|
log.info("forest扫描路径:{}", ForestScannerRegister.getBasePackages());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 客户业务层
|
* 客户业务层
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -24,10 +24,10 @@ import java.util.stream.Collectors;
|
||||||
@Service
|
@Service
|
||||||
public class OrderPayCustomerServiceImpl extends ServiceImpl<OrderPayCustomerMapper, OrderPayCustomer> implements OrderPayCustomerService {
|
public class OrderPayCustomerServiceImpl extends ServiceImpl<OrderPayCustomerMapper, OrderPayCustomer> implements OrderPayCustomerService {
|
||||||
|
|
||||||
@Resource(type = OrderPayServiceImpl.class)
|
@Autowired
|
||||||
private OrderPayService orderPayService;
|
private OrderPayService orderPayService;
|
||||||
|
|
||||||
@Resource
|
@Autowired
|
||||||
private NacosService nacosService;
|
private NacosService nacosService;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue