From 37b79cfd8e5ecdc6f9f09750583f998183c338fb Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期四, 07 十一月 2024 10:55:27 +0800
Subject: [PATCH] 代码提交

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HeLocallibraryController.java |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HeLocallibraryController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HeLocallibraryController.java
index 5b0340b..05a1bfa 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HeLocallibraryController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/HeLocallibraryController.java
@@ -23,7 +23,7 @@
 
 /**
  * 瀹f暀搴揅ontroller
- * 
+ *
  * @author smartor
  * @date 2023-03-04
  */
@@ -37,9 +37,9 @@
     /**
      * 鏌ヨ瀹f暀搴撳垪琛�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:helibrary:list')")
-    @GetMapping("/list")
-    public TableDataInfo list(HeLocallibrary heLocallibrary)
+    //@PreAuthorize("@ss.hasPermi('smartor:helibrary:list')")
+   @PostMapping("/list")
+    public TableDataInfo list(@RequestBody HeLocallibrary heLocallibrary)
     {
         startPage();
         List<HeLocallibrary> list = heLocallibraryService.selectHeLocallibraryList(heLocallibrary);
@@ -49,7 +49,7 @@
     /**
      * 瀵煎嚭瀹f暀搴撳垪琛�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:helibrary:export')")
+    //@PreAuthorize("@ss.hasPermi('smartor:helibrary:export')")
     @Log(title = "瀹f暀搴�", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, HeLocallibrary heLocallibrary)
@@ -62,7 +62,7 @@
     /**
      * 鑾峰彇瀹f暀搴撹缁嗕俊鎭�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:helibrary:query')")
+    //@PreAuthorize("@ss.hasPermi('smartor:helibrary:query')")
     @GetMapping(value = "/{id}")
     public AjaxResult getInfo(@PathVariable("id") Long id)
     {
@@ -72,9 +72,9 @@
     /**
      * 鏂板瀹f暀搴�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:helibrary:add')")
+    //@PreAuthorize("@ss.hasPermi('smartor:helibrary:add')")
     @Log(title = "瀹f暀搴�", businessType = BusinessType.INSERT)
-    @PostMapping
+    @PostMapping("add")
     public AjaxResult add(@RequestBody HeLocallibrary heLocallibrary)
     {
         return toAjax(heLocallibraryService.insertHeLocallibrary(heLocallibrary));
@@ -83,9 +83,9 @@
     /**
      * 淇敼瀹f暀搴�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:helibrary:edit')")
+    //@PreAuthorize("@ss.hasPermi('smartor:helibrary:edit')")
     @Log(title = "瀹f暀搴�", businessType = BusinessType.UPDATE)
-    @PutMapping
+    @PostMapping("/edit")
     public AjaxResult edit(@RequestBody HeLocallibrary heLocallibrary)
     {
         return toAjax(heLocallibraryService.updateHeLocallibrary(heLocallibrary));
@@ -94,9 +94,9 @@
     /**
      * 鍒犻櫎瀹f暀搴�
      */
-    @PreAuthorize("@ss.hasPermi('smartor:helibrary:remove')")
+    //@PreAuthorize("@ss.hasPermi('smartor:helibrary:remove')")
     @Log(title = "瀹f暀搴�", businessType = BusinessType.DELETE)
-	@DeleteMapping("/{ids}")
+	@GetMapping("/remove/{ids}")
     public AjaxResult remove(@PathVariable Long[] ids)
     {
         return toAjax(heLocallibraryService.deleteHeLocallibraryByIds(ids));

--
Gitblit v1.9.3