From 28b9e96e0ead37dfcd9c2745ff81814fafa4d6bb Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期二, 26 十二月 2023 15:13:35 +0800
Subject: [PATCH] 代码提交
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessorganController.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessorganController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessorganController.java
index ff22b0f..56f4c31 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessorganController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonationwitnessorganController.java
@@ -31,7 +31,7 @@
@Slf4j
@Api("鎹愮尞鍣ㄥ畼鑾峰彇")
@RestController
-@RequestMapping("/system/donationwitnessorgan")
+@RequestMapping("/project/donationwitnessorgan")
public class ServiceDonationwitnessorganController extends BaseController {
@Autowired
private IServiceDonationwitnessorganService serviceDonationwitnessorganService;
@@ -66,7 +66,7 @@
*/
@ApiOperation("鑾峰彇鎹愮尞鍣ㄥ畼鑾峰彇璇︾粏淇℃伅")
@PreAuthorize("@ss.hasPermi('system:donationwitnessorgan:query')")
- @GetMapping(value = "/{id}")
+ @GetMapping(value = "/getInfo/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id) {
return AjaxResult.success(serviceDonationwitnessorganService.getById(id));
}
@@ -77,7 +77,7 @@
@ApiOperation("鏂板鎹愮尞鍣ㄥ畼鑾峰彇")
@PreAuthorize("@ss.hasPermi('system:donationwitnessorgan:add')")
@Log(title = "鎹愮尞鍣ㄥ畼鑾峰彇", businessType = BusinessType.INSERT)
- @PostMapping
+ @PostMapping("/add")
@RepeatSubmit
public AjaxResult add(@RequestBody ServiceDonationwitnessorgan serviceDonationwitnessorgan) {
return toAjax(serviceDonationwitnessorganService.save(serviceDonationwitnessorgan));
@@ -89,7 +89,7 @@
@ApiOperation("淇敼鎹愮尞鍣ㄥ畼鑾峰彇")
@PreAuthorize("@ss.hasPermi('system:donationwitnessorgan:edit')")
@Log(title = "鎹愮尞鍣ㄥ畼鑾峰彇", businessType = BusinessType.UPDATE)
- @PutMapping
+ @PostMapping("/edit")
@RepeatSubmit
public AjaxResult edit(@RequestBody ServiceDonationwitnessorgan serviceDonationwitnessorgan) {
return toAjax(serviceDonationwitnessorganService.updateById(serviceDonationwitnessorgan));
@@ -101,7 +101,7 @@
@ApiOperation("鍒犻櫎鎹愮尞鍣ㄥ畼鑾峰彇")
@PreAuthorize("@ss.hasPermi('system:donationwitnessorgan:remove')")
@Log(title = "鎹愮尞鍣ㄥ畼鑾峰彇", businessType = BusinessType.DELETE)
- @DeleteMapping("/{ids}")
+ @GetMapping("/remove/{ids}")
public AjaxResult remove(@PathVariable Long[] ids) {
return toAjax(serviceDonationwitnessorganService.removeByIds(Arrays.asList(ids)));
}
--
Gitblit v1.9.3