feat():测试
parent
6aec96b198
commit
18efecdeaf
|
@ -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;
|
||||||
|
@ -12,6 +13,7 @@ import jakarta.validation.constraints.NotNull;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import lombok.extern.log4j.Log4j2;
|
import lombok.extern.log4j.Log4j2;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.validation.annotation.Validated;
|
import org.springframework.validation.annotation.Validated;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
@ -26,13 +28,17 @@ import java.util.List;
|
||||||
@Log4j2
|
@Log4j2
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/customer")
|
@RequestMapping("/customer")
|
||||||
@RequiredArgsConstructor
|
|
||||||
@Tag(name = "客户控制层",description = "进行客户管理、查看等相关操作")
|
@Tag(name = "客户控制层",description = "进行客户管理、查看等相关操作")
|
||||||
public class OrderPayCustomerController {
|
public class OrderPayCustomerController {
|
||||||
|
|
||||||
|
public OrderPayCustomerController(){
|
||||||
|
log.info("forest扫描路径:{}", ForestScannerRegister.getBasePackages());
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* 客户业务层
|
* 客户业务层
|
||||||
*/
|
*/
|
||||||
private final OrderPayCustomerService orderPayCustomerService;
|
@Autowired
|
||||||
|
private OrderPayCustomerService orderPayCustomerService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询所有的客户
|
* 查询所有的客户
|
||||||
|
|
Loading…
Reference in New Issue