From 39f55c08933e7f0292c325f41b0f55390a4acc69 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期一, 25 七月 2022 09:24:05 +0800
Subject: [PATCH] 添加验证,更新前端,修复bug
---
src/main/java/com/example/jz/controller/ReportController.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/example/jz/controller/ReportController.java b/src/main/java/com/example/jz/controller/ReportController.java
index 2448a01..ec097f7 100644
--- a/src/main/java/com/example/jz/controller/ReportController.java
+++ b/src/main/java/com/example/jz/controller/ReportController.java
@@ -13,7 +13,9 @@
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponse;
+import lombok.SneakyThrows;
import org.springframework.web.bind.annotation.*;
+import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
@@ -64,13 +66,12 @@
/**
* 鎶ユ
*
- * @param AddReportDto 瀹炰綋瀵硅薄
+ * @param addReportDto 瀹炰綋瀵硅薄
* @return 鏂板缁撴灉
*/
@PostMapping
@ApiOperation(value = "鎶ユ")
public R<Boolean> insert(@RequestBody AddReportDto addReportDto) {
-
return R.ok(reportService.addReport(addReportDto));
}
--
Gitblit v1.8.0