From 4894bc315eaa7d0c01f13505741bee4e64c94c8f Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 20 May 2020 10:46:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E9=A1=B5=E7=BB=93?= =?UTF-8?q?=E6=9E=84url=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/kotlin/com/synebula/gaea/app/query/IQueryApp.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)