Explorar o código

不需要权限

buzhanyi %!s(int64=2) %!d(string=hai) anos
pai
achega
5f434e86f9

+ 2 - 2
purchase-admin/src/main/java/com/ozs/web/controller/system/SysDeptController.java

@@ -42,7 +42,7 @@ public class SysDeptController extends BaseController {
     /**
      * 获取部门列表
      */
-    @PreAuthorize("@ss.hasPermi('system:dept:list')")
+    //@PreAuthorize("@ss.hasPermi('system:dept:list')")
     @GetMapping("/list")
     @ApiOperation("获取部门列表")
     public AjaxResult list(SysDept dept) {
@@ -82,7 +82,7 @@ public class SysDeptController extends BaseController {
     /**
      * 查询部门列表(排除节点)
      */
-    @PreAuthorize("@ss.hasPermi('system:dept:list')")
+    //@PreAuthorize("@ss.hasPermi('system:dept:list')")
     @GetMapping("/list/exclude/{deptId}")
     @ApiOperation("查询部门列表(排除节点)")
     public AjaxResult excludeChild(@PathVariable(value = "deptId" , required = false) Long deptId) {