From 7a30cfb3531b405542d50ea057e704997a199d73 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期一, 19 五月 2025 23:02:13 +0800
Subject: [PATCH] 2.0.1 用户端接口联调修改
---
springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintProgressController.java | 29 ++++++++++++++++++++++++++++-
1 files changed, 28 insertions(+), 1 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintProgressController.java b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintProgressController.java
index b9211ad..6e29ee1 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintProgressController.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_sangeshenbian/src/main/java/com/panzhihua/sangeshenbian/controller/ComplaintProgressController.java
@@ -1,6 +1,18 @@
package com.panzhihua.sangeshenbian.controller;
+import com.panzhihua.common.model.vos.R;
+import com.panzhihua.sangeshenbian.model.dto.ComplaintProcessDTO;
+import com.panzhihua.sangeshenbian.service.IComplaintProgressService;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import io.swagger.annotations.ApiParam;
+import lombok.RequiredArgsConstructor;
+import org.springframework.context.annotation.Lazy;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -13,8 +25,23 @@
* @author
* @since 2025-02-22
*/
+@Api(tags = {"【2.0.1】诉求办理进度相关接口"})
@RestController
-@RequestMapping("/complaint-progress")
+@RequestMapping("/applet/complaint-progress")
+@RequiredArgsConstructor(onConstructor_ = {@Lazy})
public class ComplaintProgressController {
+ private final IComplaintProgressService complaintProgressService;
+ @DeleteMapping("/{id}")
+ @ApiOperation("【2.0.1】删除办理进度")
+ public R<?> delete(@ApiParam(name = "id", value = "进度id", required = true) @PathVariable("id") Long id) {
+ complaintProgressService.removeById(id);
+ return R.ok();
+ }
+ @PutMapping("/edit")
+ @ApiOperation("【2.0.1】编辑办理进度")
+ public R<?> edit(@RequestBody ComplaintProcessDTO dto) {
+ complaintProgressService.edit(dto);
+ return R.ok();
+ }
}
--
Gitblit v1.7.1