diff --git a/src/gaea.app/src/main/kotlin/com/synebula/gaea/app/query/IQueryApp.kt b/src/gaea.app/src/main/kotlin/com/synebula/gaea/app/query/IQueryApp.kt index aa8871a..37d3508 100644 --- a/src/gaea.app/src/main/kotlin/com/synebula/gaea/app/query/IQueryApp.kt +++ b/src/gaea.app/src/main/kotlin/com/synebula/gaea/app/query/IQueryApp.kt @@ -48,8 +48,8 @@ interface IQueryApp : IApplication { } } - @GetMapping("/split/{size}/pages/{page}") - fun paging(@PathVariable page: Int, @PathVariable size: Int, @RequestParam parameters: MutableMap): HttpMessage { + @GetMapping("/segments/{size}/pages/{page}") + fun paging(@PathVariable size: Int, @PathVariable page: Int, @RequestParam parameters: MutableMap): HttpMessage { return this.safeExecute("获取${this.name}分页数据[条数:$size,页码:$page]失败") { if (this.query != null) { val params = PagingParam(page, size)