ソースを参照

修正岗位导出权限注解

RuoYi 5 年 前
コミット
f3ffaa9719
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/SysPostController.java

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

@@ -50,7 +50,7 @@ public class SysPostController extends BaseController
50
     }
50
     }
51
 
51
 
52
     @Log(title = "岗位管理", businessType = BusinessType.EXPORT)
52
     @Log(title = "岗位管理", businessType = BusinessType.EXPORT)
53
-    @PreAuthorize("@ss.hasPermi('system:config:export')")
53
+    @PreAuthorize("@ss.hasPermi('system:post:export')")
54
     @PostMapping("/export")
54
     @PostMapping("/export")
55
     public void export(HttpServletResponse response, SysPost post) throws IOException
55
     public void export(HttpServletResponse response, SysPost post) throws IOException
56
     {
56
     {