fix(系统设置): 用户只开启接口首页权限登陆查看缺少模块显示
--bug=1018781 --user=李玉号 【系统设置】用户只开启接口、测试跟踪、性能的首页权限登陆查看缺少模块显示 https://www.tapd.cn/55049933/s/1295487
This commit is contained in:
parent
2938346347
commit
6af54c8618
|
@ -72,7 +72,6 @@ public class ApiDefinitionController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/list/week/{projectId}/{goPage}/{pageSize}")
|
@PostMapping("/list/week/{projectId}/{goPage}/{pageSize}")
|
||||||
@RequiresPermissions("PROJECT_API_DEFINITION:READ")
|
|
||||||
public Pager<List<ApiDefinitionResult>> weekList(@PathVariable String projectId, @PathVariable int goPage, @PathVariable int pageSize) {
|
public Pager<List<ApiDefinitionResult>> weekList(@PathVariable String projectId, @PathVariable int goPage, @PathVariable int pageSize) {
|
||||||
Page<Object> page = PageHelper.startPage(goPage, pageSize, true);
|
Page<Object> page = PageHelper.startPage(goPage, pageSize, true);
|
||||||
return PageUtils.setPageInfo(page, apiDefinitionService.weekList(projectId));
|
return PageUtils.setPageInfo(page, apiDefinitionService.weekList(projectId));
|
||||||
|
|
Loading…
Reference in New Issue