修改分页结构url名称

This commit is contained in:
2020-05-20 10:46:10 +08:00
parent f9b3424899
commit 4894bc315e

View File

@@ -48,8 +48,8 @@ interface IQueryApp<TView, TKey> : IApplication {
}
}
@GetMapping("/split/{size}/pages/{page}")
fun paging(@PathVariable page: Int, @PathVariable size: Int, @RequestParam parameters: MutableMap<String, Any>): HttpMessage {
@GetMapping("/segments/{size}/pages/{page}")
fun paging(@PathVariable size: Int, @PathVariable page: Int, @RequestParam parameters: MutableMap<String, Any>): HttpMessage {
return this.safeExecute("获取${this.name}分页数据[条数:$size,页码:$page]失败") {
if (this.query != null) {
val params = PagingParam(page, size)