From 907641e56c2085aaa81f267946dc3e3e9fca73e7 Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 18 九月 2024 09:39:02 +0800 Subject: [PATCH] 代码提交 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java index 892587c..5bfc05a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java @@ -27,7 +27,7 @@ /** * 閮ㄩ棬淇℃伅 - * + * * @author ruoyi */ @Api(description = "閮ㄩ棬淇℃伅") @@ -42,7 +42,7 @@ * 鑾峰彇閮ㄩ棬鍒楄〃 */ @ApiOperation("鑾峰彇閮ㄩ棬鍒楄〃") - @PreAuthorize("@ss.hasPermi('system:dept:list')") + //@PreAuthorize("@ss.hasPermi('system:dept:list')") @GetMapping("/list") public AjaxResult list(SysDept dept) { @@ -54,7 +54,7 @@ * 鏌ヨ閮ㄩ棬鍒楄〃锛堟帓闄よ妭鐐癸級 */ @ApiOperation("鏌ヨ閮ㄩ棬鍒楄〃锛堟帓闄よ妭鐐癸級") - @PreAuthorize("@ss.hasPermi('system:dept:list')") + //@PreAuthorize("@ss.hasPermi('system:dept:list')") @GetMapping("/list/exclude/{deptId}") public AjaxResult excludeChild(@PathVariable(value = "deptId", required = false) Long deptId) { @@ -67,8 +67,8 @@ * 鏍规嵁閮ㄩ棬缂栧彿鑾峰彇璇︾粏淇℃伅 */ @ApiOperation("鏍规嵁閮ㄩ棬缂栧彿鑾峰彇璇︾粏淇℃伅") - @PreAuthorize("@ss.hasPermi('system:dept:query')") - @GetMapping(value = "/getInfo/{deptId}") + //@PreAuthorize("@ss.hasPermi('system:dept:query')") + @GetMapping("/getInfo/{deptId}") public AjaxResult getInfo(@PathVariable Long deptId) { deptService.checkDeptDataScope(deptId); @@ -79,7 +79,7 @@ * 鏂板閮ㄩ棬 */ @ApiOperation("鏂板閮ㄩ棬") - @PreAuthorize("@ss.hasPermi('system:dept:add')") + //@PreAuthorize("@ss.hasPermi('system:dept:add')") @Log(title = "閮ㄩ棬绠$悊", businessType = BusinessType.INSERT) @PostMapping("/add") public AjaxResult add(@Validated @RequestBody SysDept dept) @@ -96,7 +96,7 @@ * 淇敼閮ㄩ棬 */ @ApiOperation("淇敼閮ㄩ棬") - @PreAuthorize("@ss.hasPermi('system:dept:edit')") + //@PreAuthorize("@ss.hasPermi('system:dept:edit')") @Log(title = "閮ㄩ棬绠$悊", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@Validated @RequestBody SysDept dept) @@ -123,7 +123,7 @@ * 鍒犻櫎閮ㄩ棬 */ @ApiOperation("鍒犻櫎閮ㄩ棬") - @PreAuthorize("@ss.hasPermi('system:dept:remove')") + //@PreAuthorize("@ss.hasPermi('system:dept:remove')") @Log(title = "閮ㄩ棬绠$悊", businessType = BusinessType.DELETE) @GetMapping("/remove/{deptId}") public AjaxResult remove(@PathVariable Long deptId) -- Gitblit v1.9.3