diff --git a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/ProjectController.java b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/ProjectController.java index 6ae46294..88aaa224 100644 --- a/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/ProjectController.java +++ b/zsw-farm/zsw-farm-impl/src/main/java/cn/iocoder/yudao/module/farm/controller/admin/project/ProjectController.java @@ -114,6 +114,7 @@ public class ProjectController { @ApiOperation("小程序项目列表") @PostMapping("/findProjectList") + @PreAuthorize("@ss.hasPermission('farm:project:query')") public R> findProjectList(@RequestBody ProjectPageDTO pageDTO){ return projectService.findProjectList(pageDTO); }