From 0055acf48618f0041468d1f35350c404f48b66eb Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 05 二月 2024 14:22:47 +0800
Subject: [PATCH] 代码提交

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java
index a42ef85..7f3bae3 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceReimbursementpayeeController.java
@@ -1,4 +1,4 @@
-package com.ruoyi.project.controller;
+package com.ruoyi.web.controller.project;
 
 import com.ruoyi.common.annotation.Log;
 import com.ruoyi.common.annotation.RepeatSubmit;
@@ -75,11 +75,12 @@
     @ApiOperation("鏂板宸梾鎶ラ攢浠樻淇℃伅")
     //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:add')")
     @Log(title = "宸梾鎶ラ攢浠樻淇℃伅", businessType = BusinessType.INSERT)
-    @PostMapping
+    @PostMapping("/add")
     @RepeatSubmit
     public AjaxResult add(@RequestBody ServiceReimbursementpayee serviceReimbursementpayee)
     {
-        return toAjax(serviceReimbursementpayeeService.save(serviceReimbursementpayee));
+        boolean save = serviceReimbursementpayeeService.save(serviceReimbursementpayee);
+        return AjaxResult.success(serviceReimbursementpayee);
     }
 
     /**
@@ -88,7 +89,7 @@
     @ApiOperation("淇敼宸梾鎶ラ攢浠樻淇℃伅")
     //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:edit')")
     @Log(title = "宸梾鎶ラ攢浠樻淇℃伅", businessType = BusinessType.UPDATE)
-    @PutMapping
+    @PostMapping("/reimbursementpayeeEdit")
     @RepeatSubmit    
     public AjaxResult edit(@RequestBody ServiceReimbursementpayee serviceReimbursementpayee)
     {
@@ -101,7 +102,7 @@
     @ApiOperation("鍒犻櫎宸梾鎶ラ攢浠樻淇℃伅")
     //@PreAuthorize("@ss.hasPermi('project:reimbursementpayee:remove')")
     @Log(title = "宸梾鎶ラ攢浠樻淇℃伅", businessType = BusinessType.DELETE)
-    @DeleteMapping("/{ids}")
+    @GetMapping("/remove/{ids}")
     public AjaxResult remove(@PathVariable String[] ids)
     {
         return toAjax(serviceReimbursementpayeeService.removeByIds(Arrays.asList(ids)));

--
Gitblit v1.9.3