From 38116e1a779763482b7c0a5657cfa6cb939f72fb Mon Sep 17 00:00:00 2001
From: luofl <1442745593@qq.com>
Date: 星期日, 23 二月 2025 18:22:41 +0800
Subject: [PATCH] 1.

---
 springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintController.java |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintController.java b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintController.java
index 94b5706..17e4575 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintController.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintController.java
@@ -5,6 +5,7 @@
 import com.panzhihua.common.controller.BaseController;
 import com.panzhihua.common.utlis.DateUtils;
 import com.panzhihua.sangeshenbian.annotation.DistributedLock;
+import com.panzhihua.sangeshenbian.dto.ComplaintReport;
 import com.panzhihua.sangeshenbian.entity.Complaint;
 import com.panzhihua.sangeshenbian.enums.ProcessStatusEnum;
 import com.panzhihua.sangeshenbian.service.IComplaintService;
@@ -12,6 +13,7 @@
 import io.swagger.annotations.ApiOperation;
 import lombok.RequiredArgsConstructor;
 import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RequestMapping;
 
 import org.springframework.web.bind.annotation.RestController;
@@ -48,6 +50,15 @@
         complaintService.saveComplaint(complaint,getUserId());
     }
 
+    /**
+     * 问题上报
+     */
+    @PostMapping("/report")
+    @ApiOperation(value = "问题上报")
+    public void report(@RequestBody ComplaintReport complaintReport) {
+        // TODO
+    }
+
 
 
 }

--
Gitblit v1.7.1