From fe84dea08439c3b87ec1479f3fba152465f5d8f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E4=B9=85=E5=93=A5?= <787952492@qq.com> Date: Mon, 20 Jun 2022 09:33:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=9D=83=E9=99=90?= =?UTF-8?q?=E8=AE=BF=E9=97=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/farm/controller/admin/project/ProjectController.java | 1 + 1 file changed, 1 insertion(+) 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); }