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

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceRelativesconfirmationController.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceRelativesconfirmationController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceRelativesconfirmationController.java
index 29a9ded..ea22706 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceRelativesconfirmationController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceRelativesconfirmationController.java
@@ -116,10 +116,11 @@
     @ApiOperation("鏂板浜插睘纭")
     //@PreAuthorize("@ss.hasPermi('project:relativesconfirmation:add')")
     @Log(title = "鎹愮尞浜插睘纭", businessType = BusinessType.INSERT)
-    @PostMapping
+    @PostMapping("/add")
     @RepeatSubmit
     public AjaxResult add(@RequestBody ServiceRelativesconfirmation serviceRelativesconfirmation) {
-        return toAjax(serviceRelativesconfirmationService.save(serviceRelativesconfirmation));
+        boolean save = serviceRelativesconfirmationService.save(serviceRelativesconfirmation);
+        return AjaxResult.success(serviceRelativesconfirmation);
     }
 
     /**

--
Gitblit v1.9.3