From 453e3471e94b91169beec1e258a06a132d927011 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 02 十二月 2024 15:01:50 +0800
Subject: [PATCH] 1

---
 src/main/java/com/yssh/controller/FeedbackController.java |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/main/java/com/yssh/controller/FeedbackController.java b/src/main/java/com/yssh/controller/FeedbackController.java
index d1deeea..eac0676 100644
--- a/src/main/java/com/yssh/controller/FeedbackController.java
+++ b/src/main/java/com/yssh/controller/FeedbackController.java
@@ -3,29 +3,29 @@
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 
-import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.RestController;
 
-import com.yssh.service.IFeedbackService;
+import com.yssh.service.FeedbackService;
 import com.yssh.utils.Result;
+
+import javax.annotation.Resource;
 
 @Api(tags="婧簮鍙嶉")
 @RestController
 @RequestMapping("/feedback")
 @SuppressWarnings("rawtypes")
 public class FeedbackController {
+	@Resource
+	private FeedbackService feedbackService;
 
-	@Autowired
-	private IFeedbackService feedbackService;
-	
 	@GetMapping("/feedback")
-    @ApiOperation(value = "婧簮鍙嶉", notes = "杩涜婧簮鍙嶉")
-    public Result suYuanFeedback(
-    		@RequestParam(value = "id", required = true) Long id, @RequestParam(value = "practicalId", required = true) String practicalId, 
-    		@RequestParam(value = "practicalVocsName", required = true) String practicalVocsName, @RequestParam(value = "practicalValue", required = true) double practicalValue){
-        return Result.OK(feedbackService.suYuanFeedback(id, practicalId, practicalVocsName, practicalValue));
-    }
+	@ApiOperation(value = "婧簮鍙嶉", notes = "杩涜婧簮鍙嶉")
+	public Result suYuanFeedback(
+			@RequestParam(value = "id", required = true) Long id, @RequestParam(value = "practicalId", required = true) String practicalId,
+			@RequestParam(value = "practicalVocsName", required = true) String practicalVocsName, @RequestParam(value = "practicalValue", required = true) double practicalValue) {
+		return Result.OK(feedbackService.suYuanFeedback(id, practicalId, practicalVocsName, practicalValue));
+	}
 }

--
Gitblit v1.9.3