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/smartor/MinioFileController.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/MinioFileController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/MinioFileController.java index 6d47030..bf5e09f 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/MinioFileController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/MinioFileController.java @@ -36,7 +36,7 @@ /** * 鏌ヨ銆愯濉啓鍔熻兘鍚嶇О銆戝垪琛� */ - @PreAuthorize("@ss.hasPermi('system:file:list')") + //@PreAuthorize("@ss.hasPermi('system:file:list')") @PostMapping("/list") public TableDataInfo list(@RequestBody MinioFile minioFile) { startPage(); @@ -47,7 +47,7 @@ /** * 瀵煎嚭銆愯濉啓鍔熻兘鍚嶇О銆戝垪琛� */ - @PreAuthorize("@ss.hasPermi('system:file:export')") + //@PreAuthorize("@ss.hasPermi('system:file:export')") @Log(title = "銆愯濉啓鍔熻兘鍚嶇О銆�", businessType = BusinessType.EXPORT) @PostMapping("/export") public void export(HttpServletResponse response, MinioFile minioFile) { @@ -59,7 +59,7 @@ /** * 鑾峰彇銆愯濉啓鍔熻兘鍚嶇О銆戣缁嗕俊鎭� */ - @PreAuthorize("@ss.hasPermi('system:file:query')") + //@PreAuthorize("@ss.hasPermi('system:file:query')") @GetMapping(value = "/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return success(minioFileService.selectMinioFileById(id)); @@ -68,7 +68,7 @@ /** * 鏂板銆愯濉啓鍔熻兘鍚嶇О銆� */ - @PreAuthorize("@ss.hasPermi('system:file:add')") + //@PreAuthorize("@ss.hasPermi('system:file:add')") @Log(title = "銆愯濉啓鍔熻兘鍚嶇О銆�", businessType = BusinessType.INSERT) @PostMapping("/add") public AjaxResult add(@RequestBody MinioFile minioFile) { @@ -78,7 +78,7 @@ /** * 淇敼銆愯濉啓鍔熻兘鍚嶇О銆� */ - @PreAuthorize("@ss.hasPermi('system:file:edit')") + //@PreAuthorize("@ss.hasPermi('system:file:edit')") @Log(title = "銆愯濉啓鍔熻兘鍚嶇О銆�", businessType = BusinessType.UPDATE) @PostMapping("/edit") public AjaxResult edit(@RequestBody MinioFile minioFile) { @@ -88,7 +88,7 @@ /** * 鍒犻櫎銆愯濉啓鍔熻兘鍚嶇О銆� */ - @PreAuthorize("@ss.hasPermi('system:file:remove')") + //@PreAuthorize("@ss.hasPermi('system:file:remove')") @Log(title = "銆愯濉啓鍔熻兘鍚嶇О銆�", businessType = BusinessType.DELETE) @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { @@ -116,7 +116,7 @@ /** * 鑾峰彇锛堝鏁欙級寮曠敤妯℃澘 */ - @PreAuthorize("@ss.hasPermi('system:file:list')") + //@PreAuthorize("@ss.hasPermi('system:file:list')") @ApiOperation(value = "鑾峰彇锛堝鏁欙級寮曠敤妯℃澘") @GetMapping("/getEduTemplage") public AjaxResult getEduTemplage() { -- Gitblit v1.9.3