fix(工作台): 修复工作台我的待办接口用例分页问题
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001018306 --user=郭雨琦
This commit is contained in:
parent
53c18d2fdc
commit
82249712ed
|
@ -69,9 +69,9 @@ public class ApiTestCaseController {
|
|||
|
||||
@PostMapping("/list/{goPage}/{pageSize}")
|
||||
public Pager<List<ApiTestCaseDTO>> listSimple(@PathVariable int goPage, @PathVariable int pageSize, @RequestBody ApiTestCaseRequest request) {
|
||||
Page<Object> page = PageHelper.startPage(goPage, pageSize, true);
|
||||
request.setSelectEnvironment(true);
|
||||
apiTestCaseService.initRequestBySearch(request);
|
||||
Page<Object> page = PageHelper.startPage(goPage, pageSize, true);
|
||||
return PageUtils.setPageInfo(page, apiTestCaseService.listSimple(request));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue