From f0f6c3b39dddf5cfdf145425687e9339453b5ba1 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期六, 09 九月 2023 10:01:42 +0800
Subject: [PATCH] 将put \ delete改成post \ get
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatefollowupController.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatefollowupController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatefollowupController.java
index b385d82..be25db9 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatefollowupController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonatefollowupController.java
@@ -108,7 +108,7 @@
@ApiOperation("淇敼鎹愮尞闅忚")
//@PreAuthorize("@ss.hasPermi('project:donatefollowup:edit')")
@Log(title = "鎹愮尞闅忚", businessType = BusinessType.UPDATE)
- @PutMapping
+ @PostMapping("/edit")
@RepeatSubmit
public AjaxResult edit(@RequestBody ServiceDonatefollowup serviceDonatefollowup)
{
@@ -122,7 +122,7 @@
@ApiOperation("鍒犻櫎鎹愮尞闅忚")
//@PreAuthorize("@ss.hasPermi('project:donatefollowup:remove')")
@Log(title = "鎹愮尞闅忚", businessType = BusinessType.DELETE)
- @DeleteMapping("/{ids}")
+ @GetMapping("/remove/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(serviceDonatefollowupService.removeByIds(Arrays.asList(ids)));
--
Gitblit v1.9.3