From 163f15f11565405041d58e0db3a17dcaa08f1988 Mon Sep 17 00:00:00 2001 From: 唐耀东 <18861537@qq.com> Date: 星期三, 18 五月 2022 16:47:04 +0800 Subject: [PATCH] 提交代码 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgServerController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgServerController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgServerController.java index 123b416..740a98d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgServerController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgServerController.java @@ -49,7 +49,7 @@ */ @DataDictClass @ApiOperation("鏌ヨ鏈嶅姟鍣ㄥ垪琛�") - @PreAuthorize("@ss.hasPermi('oa:server:list')") +// @PreAuthorize("@ss.hasPermi('oa:server:list')") @GetMapping("/list") public TableDataInfo<SgServerVo> list(@Validated(QueryGroup.class) SgServerBo bo) { return iSgServerService.queryPageList(bo); @@ -59,7 +59,7 @@ * 瀵煎嚭鏈嶅姟鍣ㄥ垪琛� */ @ApiOperation("瀵煎嚭鏈嶅姟鍣ㄥ垪琛�") - @PreAuthorize("@ss.hasPermi('oa:server:export')") +// @PreAuthorize("@ss.hasPermi('oa:server:export')") @Log(title = "鏈嶅姟鍣�", businessType = BusinessType.EXPORT) @GetMapping("/export") public void export(@Validated SgServerBo bo, HttpServletResponse response) { @@ -71,7 +71,7 @@ * 鑾峰彇鏈嶅姟鍣ㄨ缁嗕俊鎭� */ @ApiOperation("鑾峰彇鏈嶅姟鍣ㄨ缁嗕俊鎭�") - @PreAuthorize("@ss.hasPermi('oa:server:query')") +// @PreAuthorize("@ss.hasPermi('oa:server:query')") @GetMapping("/{id}") public AjaxResult<SgServerVo> getInfo(@ApiParam("涓婚敭") @NotNull(message = "涓婚敭涓嶈兘涓虹┖") @@ -83,7 +83,7 @@ * 鏂板鏈嶅姟鍣� */ @ApiOperation("鏂板鏈嶅姟鍣�") - @PreAuthorize("@ss.hasPermi('oa:server:add')") +// @PreAuthorize("@ss.hasPermi('oa:server:add')") @Log(title = "鏈嶅姟鍣�", businessType = BusinessType.INSERT) @RepeatSubmit() @PostMapping() @@ -95,7 +95,7 @@ * 淇敼鏈嶅姟鍣� */ @ApiOperation("淇敼鏈嶅姟鍣�") - @PreAuthorize("@ss.hasPermi('oa:server:edit')") +// @PreAuthorize("@ss.hasPermi('oa:server:edit')") @Log(title = "鏈嶅姟鍣�", businessType = BusinessType.UPDATE) @RepeatSubmit() @PutMapping() @@ -107,7 +107,7 @@ * 鍒犻櫎鏈嶅姟鍣� */ @ApiOperation("鍒犻櫎鏈嶅姟鍣�") - @PreAuthorize("@ss.hasPermi('oa:server:remove')") +// @PreAuthorize("@ss.hasPermi('oa:server:remove')") @Log(title = "鏈嶅姟鍣�" , businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult<Void> remove(@ApiParam("涓婚敭涓�") -- Gitblit v1.9.1