跨域搜索
This commit is contained in:
parent
c3869495e3
commit
49010009f5
@ -110,7 +110,6 @@ public class KnowledgeController {
|
|||||||
@GetMapping("/listForEs")
|
@GetMapping("/listForEs")
|
||||||
@Operation(summary = "获得查询分页")
|
@Operation(summary = "获得查询分页")
|
||||||
public CommonResult<List<KnowledgeRespVO>> getKnowsList(@Valid KmsSearchDto kmsSearchDto) {
|
public CommonResult<List<KnowledgeRespVO>> getKnowsList(@Valid KmsSearchDto kmsSearchDto) {
|
||||||
System.out.println("kmsSearchDto: " + kmsSearchDto);
|
|
||||||
//PageResult<KnowledgeDO> pageResult = knowledgeService.getKnowledgePage(pageReqVO);
|
//PageResult<KnowledgeDO> pageResult = knowledgeService.getKnowledgePage(pageReqVO);
|
||||||
List<KnowledgeDO> list = knowledgeService.getKnowsList(kmsSearchDto);
|
List<KnowledgeDO> list = knowledgeService.getKnowsList(kmsSearchDto);
|
||||||
return success(BeanUtils.toBean(list, KnowledgeRespVO.class));
|
return success(BeanUtils.toBean(list, KnowledgeRespVO.class));
|
||||||
|
Loading…
Reference in New Issue
Block a user