Skip to content

Commit

Permalink
[manager] enhancement manager-monitors-page added gmtUpdate desc (#455)
Browse files Browse the repository at this point in the history
* [manager-monitors](增强)应用服务检测-网站检测-分页:添加默认name升序 (enhancement)manager-monitors-page added name asc

* [manager-monitors](增强)应用服务检测-网站检测-分页:添加默认gmtUpdate降序 (enhancement)manager-monitors-page added gmtUpdate desc
  • Loading branch information
luxx-lq authored and tomsun28 committed Nov 27, 2022
1 parent 2e7fcd3 commit 27bd784
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public ResponseEntity<Message<Page<Monitor>>> getMonitors(
@Parameter(description = "en: Monitor Name,zh: 监控名称,模糊查询", example = "linux-127.0.0.1") @RequestParam(required = false) final String name,
@Parameter(description = "en: Monitor Host,zh: 监控Host,模糊查询", example = "127.0.0.1") @RequestParam(required = false) final String host,
@Parameter(description = "en: Monitor Status,zh: 监控状态 0:未监控,1:可用,2:不可用,3:不可达,4:挂起,9:全部状态", example = "1") @RequestParam(required = false) final Byte status,
@Parameter(description = "en: Sort Field,default id,zh: 排序字段,默认id", example = "name") @RequestParam(defaultValue = "id") final String sort,
@Parameter(description = "en: Sort Field,default id,zh: 排序字段,默认更新时间", example = "name") @RequestParam(defaultValue = "gmtUpdate") final String sort,
@Parameter(description = "en: Sort by,zh: 排序方式,asc:升序,desc:降序", example = "desc") @RequestParam(defaultValue = "desc") final String order,
@Parameter(description = "en: List current page,zh: 列表当前分页", example = "0") @RequestParam(defaultValue = "0") int pageIndex,
@Parameter(description = "en: Number of list pagination,zh: 列表分页数量", example = "8") @RequestParam(defaultValue = "8") int pageSize) {
Expand Down

0 comments on commit 27bd784

Please sign in to comment.