浏览代码

修正岗位导出权限注解

RuoYi 4 年之前
父节点
当前提交
ea9effaf32
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi/src/main/java/com/ruoyi/project/system/controller/SysPostController.java

+ 1 - 1
ruoyi/src/main/java/com/ruoyi/project/system/controller/SysPostController.java

@@ -48,7 +48,7 @@ public class SysPostController extends BaseController
     }
     
     @Log(title = "岗位管理", businessType = BusinessType.EXPORT)
-    @PreAuthorize("@ss.hasPermi('system:config:export')")
+    @PreAuthorize("@ss.hasPermi('system:post:export')")
     @GetMapping("/export")
     public AjaxResult export(SysPost post)
     {