启动类添加注解
parent
7ffd065660
commit
b21559d6c9
|
@ -15,7 +15,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@EnableCustomConfig
|
@EnableCustomConfig
|
||||||
//@EnableCustomSwagger2
|
|
||||||
@EnableMyFeignClients
|
@EnableMyFeignClients
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class MuyuPayApplication {
|
public class MuyuPayApplication {
|
||||||
|
|
|
@ -27,7 +27,6 @@ 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 {
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,7 @@ import com.muyu.cloud.pay.domain.resp.CustomerListResp;
|
||||||
import com.muyu.cloud.pay.mapper.OrderPayCustomerMapper;
|
import com.muyu.cloud.pay.mapper.OrderPayCustomerMapper;
|
||||||
import com.muyu.cloud.pay.service.OrderPayCustomerService;
|
import com.muyu.cloud.pay.service.OrderPayCustomerService;
|
||||||
import com.muyu.common.core.utils.StringUtils;
|
import com.muyu.common.core.utils.StringUtils;
|
||||||
|
import com.muyu.nacos.api.NacosServiceApi;
|
||||||
import com.muyu.nacos.service.NacosServerService;
|
import com.muyu.nacos.service.NacosServerService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
@ -31,6 +32,7 @@ public class OrderPayCustomerServiceImpl
|
||||||
@Autowired
|
@Autowired
|
||||||
private NacosServerService nacosServerService;
|
private NacosServerService nacosServerService;
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<CustomerListResp> selectList(CustomerListReq req) {
|
public List<CustomerListResp> selectList(CustomerListReq req) {
|
||||||
LambdaQueryWrapper<OrderPayCustomer> queryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<OrderPayCustomer> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
|
Loading…
Reference in New Issue