启动类添加注解

master
张腾 2024-08-08 17:18:41 +08:00
parent 7ffd065660
commit b21559d6c9
3 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
*/
@EnableCustomConfig
//@EnableCustomSwagger2
@EnableMyFeignClients
@SpringBootApplication
public class MuyuPayApplication {

View File

@ -27,7 +27,6 @@ import java.util.List;
@Log4j2
@RestController
@RequestMapping("/customer")
@RequiredArgsConstructor
@Tag(name = "客户控制层",description = "进行客户管理,查看等相关操作")
public class OrderPayCustomerController {

View File

@ -8,6 +8,7 @@ import com.muyu.cloud.pay.domain.resp.CustomerListResp;
import com.muyu.cloud.pay.mapper.OrderPayCustomerMapper;
import com.muyu.cloud.pay.service.OrderPayCustomerService;
import com.muyu.common.core.utils.StringUtils;
import com.muyu.nacos.api.NacosServiceApi;
import com.muyu.nacos.service.NacosServerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@ -31,6 +32,7 @@ public class OrderPayCustomerServiceImpl
@Autowired
private NacosServerService nacosServerService;
@Override
public List<CustomerListResp> selectList(CustomerListReq req) {
LambdaQueryWrapper<OrderPayCustomer> queryWrapper = new LambdaQueryWrapper<>();