跨域搜索

This commit is contained in:
XaoLi717 2024-08-20 09:38:09 +08:00
parent c3869495e3
commit 49010009f5

View File

@ -110,7 +110,6 @@ public class KnowledgeController {
@GetMapping("/listForEs")
@Operation(summary = "获得查询分页")
public CommonResult<List<KnowledgeRespVO>> getKnowsList(@Valid KmsSearchDto kmsSearchDto) {
System.out.println("kmsSearchDto: " + kmsSearchDto);
//PageResult<KnowledgeDO> pageResult = knowledgeService.getKnowledgePage(pageReqVO);
List<KnowledgeDO> list = knowledgeService.getKnowsList(kmsSearchDto);
return success(BeanUtils.toBean(list, KnowledgeRespVO.class));