From a88e19be56fab4f06aae0248575b55fed41eaa1e Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期四, 04 一月 2024 09:47:20 +0800 Subject: [PATCH] yxh --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java index 2113020..afcabbe 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDonateorganstaticsController.java @@ -64,7 +64,7 @@ */ @ApiOperation("鑾峰彇鎹愮尞妗堜緥鍣ㄥ畼鍒楄缁嗕俊鎭�") @PreAuthorize("@ss.hasPermi('project:donateorganstatics:query')") - @GetMapping(value = "/{id}") + @GetMapping(value = "/getInfo/{id}") public AjaxResult getInfo(@PathVariable("id") Long id) { return AjaxResult.success(serviceDonateorganstaticsService.getById(id)); @@ -76,7 +76,7 @@ @ApiOperation("鏂板鎹愮尞妗堜緥鍣ㄥ畼鍒�") @PreAuthorize("@ss.hasPermi('project:donateorganstatics:add')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.INSERT) - @PostMapping + @PostMapping("/add") @RepeatSubmit public AjaxResult add(@RequestBody ServiceDonateorganstatics serviceDonateorganstatics) { @@ -89,7 +89,7 @@ @ApiOperation("淇敼鎹愮尞妗堜緥鍣ㄥ畼鍒�") @PreAuthorize("@ss.hasPermi('project:donateorganstatics:edit')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.UPDATE) - @PutMapping + @PostMapping("/edit") @RepeatSubmit public AjaxResult edit(@RequestBody ServiceDonateorganstatics serviceDonateorganstatics) { @@ -102,7 +102,7 @@ @ApiOperation("鍒犻櫎鎹愮尞妗堜緥鍣ㄥ畼鍒�") @PreAuthorize("@ss.hasPermi('project:donateorganstatics:remove')") @Log(title = "鎹愮尞妗堜緥鍣ㄥ畼鍒�", businessType = BusinessType.DELETE) - @DeleteMapping("/{ids}") + @GetMapping("/remove/{ids}") public AjaxResult remove(@PathVariable Long[] ids) { return toAjax(serviceDonateorganstaticsService.removeByIds(Arrays.asList(ids))); -- Gitblit v1.9.3