refactor: 修改性能测试日志查询的pagesize

This commit is contained in:
Captain.B 2020-07-23 11:22:44 +08:00
parent 7880c09b53
commit d107be2985
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ public class PerformanceReportController {
@GetMapping("log/{reportId}/{resourceId}/{goPage}") @GetMapping("log/{reportId}/{resourceId}/{goPage}")
public Pager<List<LoadTestReportLog>> logs(@PathVariable String reportId, @PathVariable String resourceId, @PathVariable int goPage) { public Pager<List<LoadTestReportLog>> logs(@PathVariable String reportId, @PathVariable String resourceId, @PathVariable int goPage) {
Page<Object> page = PageHelper.startPage(goPage, 10, true); Page<Object> page = PageHelper.startPage(goPage, 1, true);
return PageUtils.setPageInfo(page, reportService.getReportLogs(reportId, resourceId)); return PageUtils.setPageInfo(page, reportService.getReportLogs(reportId, resourceId));
} }