(improvement)(headless) Modify view demo data (#703)

Co-authored-by: jolunoluo
This commit is contained in:
LXW
2024-01-30 21:34:03 +08:00
committed by GitHub
parent df975b231d
commit 7f15bacca4
3 changed files with 14 additions and 10 deletions

View File

@@ -82,9 +82,10 @@ public class ChatConfigController {
return semanticInterpreter.getDomainList(user);
}
@GetMapping("/viewList/{domainId}")
public List<ViewResp> getViewList(@PathVariable("domainId") Long domainId) {
return semanticInterpreter.getViewList(domainId);
@GetMapping("/viewList")
public List<ViewResp> getViewList() {
//Compatible with front-end
return semanticInterpreter.getViewList(null);
}
@PostMapping("/dimension/page")