refactor: 修改性能测试日志查询的pagesize
This commit is contained in:
parent
7880c09b53
commit
d107be2985
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue