Sfoglia il codice sorgente

修正岗位导出权限注解

RuoYi 6 anni fa
parent
commit
f3ffaa9719

+ 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
     {