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/SgIotController.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIotController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIotController.java index 393e4cf..6846dd3 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIotController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/oa/SgIotController.java @@ -49,7 +49,7 @@ */ @DataDictClass @ApiOperation("鏌ヨIoT璁惧鍒楄〃") - @PreAuthorize("@ss.hasPermi('oa:iot:list')") +// @PreAuthorize("@ss.hasPermi('oa:iot:list')") @GetMapping("/list") public TableDataInfo<SgIotVo> list(@Validated(QueryGroup.class) SgIotBo bo) { return iSgIotService.queryPageList(bo); @@ -80,7 +80,7 @@ * 鑾峰彇IoT璁惧璇︾粏淇℃伅 */ @ApiOperation("鑾峰彇IoT璁惧璇︾粏淇℃伅") - @PreAuthorize("@ss.hasPermi('oa:iot:query')") +// @PreAuthorize("@ss.hasPermi('oa:iot:query')") @GetMapping("/{id}") public AjaxResult<SgIotVo> getInfo(@ApiParam("涓婚敭") @NotNull(message = "涓婚敭涓嶈兘涓虹┖") @@ -92,7 +92,7 @@ * 鏂板IoT璁惧 */ @ApiOperation("鏂板IoT璁惧") - @PreAuthorize("@ss.hasPermi('oa:iot:add')") +// @PreAuthorize("@ss.hasPermi('oa:iot:add')") @Log(title = "IoT璁惧", businessType = BusinessType.INSERT) @RepeatSubmit() @PostMapping() @@ -104,7 +104,7 @@ * 淇敼IoT璁惧 */ @ApiOperation("淇敼IoT璁惧") - @PreAuthorize("@ss.hasPermi('oa:iot:edit')") +// @PreAuthorize("@ss.hasPermi('oa:iot:edit')") @Log(title = "IoT璁惧", businessType = BusinessType.UPDATE) @RepeatSubmit() @PutMapping() @@ -116,7 +116,7 @@ * 鍒犻櫎IoT璁惧 */ @ApiOperation("鍒犻櫎IoT璁惧") - @PreAuthorize("@ss.hasPermi('oa:iot:remove')") +// @PreAuthorize("@ss.hasPermi('oa:iot:remove')") @Log(title = "IoT璁惧" , businessType = BusinessType.DELETE) @DeleteMapping("/{ids}") public AjaxResult<Void> remove(@ApiParam("涓婚敭涓�") -- Gitblit v1.9.1