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/tools/BaseSmsaccountController.java |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/tools/BaseSmsaccountController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/tools/BaseSmsaccountController.java
index 679d6e2..d419716 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/tools/BaseSmsaccountController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/tools/BaseSmsaccountController.java
@@ -38,9 +38,9 @@
     /**
      * 鏌ヨ鐭俊璐﹀彿鍒楄〃
      */
-    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:list')")
-    @GetMapping("/list")
-    public TableDataInfo list(BaseSmsaccount baseSmsaccount) {
+    //@PreAuthorize("@ss.hasPermi('smartor:smsaccount:list')")
+   @PostMapping("/list")
+    public TableDataInfo list(@RequestBody BaseSmsaccount baseSmsaccount) {
         startPage();
         List<BaseSmsaccount> list = baseSmsaccountService.selectBaseSmsaccountList(baseSmsaccount);
         return getDataTable(list);
@@ -49,7 +49,7 @@
     /**
      * 瀵煎嚭鐭俊璐﹀彿鍒楄〃
      */
-    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:export')")
+    //@PreAuthorize("@ss.hasPermi('smartor:smsaccount:export')")
     @Log(title = "鐭俊璐﹀彿", businessType = BusinessType.EXPORT)
     @PostMapping("/export")
     public void export(HttpServletResponse response, BaseSmsaccount baseSmsaccount) {
@@ -61,7 +61,7 @@
     /**
      * 鑾峰彇鐭俊璐﹀彿璇︾粏淇℃伅
      */
-    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:query')")
+    //@PreAuthorize("@ss.hasPermi('smartor:smsaccount:query')")
     @GetMapping(value = "/{smsacountid}")
     public AjaxResult getInfo(@PathVariable("smsacountid") Long smsacountid) {
         return success(baseSmsaccountService.selectBaseSmsaccountBySmsacountid(smsacountid));
@@ -70,7 +70,7 @@
     /**
      * 鏂板鐭俊璐﹀彿
      */
-    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:add')")
+    //@PreAuthorize("@ss.hasPermi('smartor:smsaccount:add')")
     @Log(title = "鐭俊璐﹀彿", businessType = BusinessType.INSERT)
     @PostMapping
     public AjaxResult add(@RequestBody BaseSmsaccount baseSmsaccount) {
@@ -80,9 +80,9 @@
     /**
      * 淇敼鐭俊璐﹀彿
      */
-    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:edit')")
+    //@PreAuthorize("@ss.hasPermi('smartor:smsaccount:edit')")
     @Log(title = "鐭俊璐﹀彿", businessType = BusinessType.UPDATE)
-    @PutMapping
+    @PostMapping("/edit")
     public AjaxResult edit(@RequestBody BaseSmsaccount baseSmsaccount) {
         return toAjax(baseSmsaccountService.updateBaseSmsaccount(baseSmsaccount));
     }
@@ -90,9 +90,9 @@
     /**
      * 鍒犻櫎鐭俊璐﹀彿
      */
-    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:remove')")
+    //@PreAuthorize("@ss.hasPermi('smartor:smsaccount:remove')")
     @Log(title = "鐭俊璐﹀彿", businessType = BusinessType.DELETE)
-    @DeleteMapping("/{smsacountids}")
+    @GetMapping("/remove/{smsacountids}")
     public AjaxResult remove(@PathVariable Long[] smsacountids) {
         return toAjax(baseSmsaccountService.deleteBaseSmsaccountBySmsacountids(smsacountids));
     }

--
Gitblit v1.9.3