fix(系统设置): 用户只开启接口首页权限登陆查看缺少模块显示

--bug=1018781 --user=李玉号 【系统设置】用户只开启接口、测试跟踪、性能的首页权限登陆查看缺少模块显示
https://www.tapd.cn/55049933/s/1295487
This commit is contained in:
shiziyuan9527 2022-11-14 15:52:48 +08:00 committed by lyh
parent 2938346347
commit 6af54c8618
1 changed files with 0 additions and 1 deletions

View File

@ -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));