From 640ff18d2d7f4be02ddb7f8f75e899f05545eb98 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期一, 05 二月 2024 11:56:52 +0800
Subject: [PATCH] 更新bug修改

---
 cloud-server-other/src/main/java/com/dsh/other/feignclient/QuestionClient.java |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/feignclient/QuestionClient.java b/cloud-server-other/src/main/java/com/dsh/other/feignclient/QuestionClient.java
index a37da84..6e2fb76 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/feignclient/QuestionClient.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/feignclient/QuestionClient.java
@@ -4,16 +4,18 @@
 import com.dsh.other.model.vo.questionVo.QuestionIns;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
+
+import java.util.List;
 
 
 @FeignClient(value = "mb-cloud-other")
 public interface QuestionClient {
 
     @PostMapping("/base/notice/queryQuestionDetails")
-    QuestionDetailsVo getSysQuestionDetails();
+    List<QuestionIns> getSysQuestionDetails();
 
     @PostMapping("/base/notice/queryQuestion")
-    QuestionIns getSysQuestionBuId(@RequestBody Integer quesId);
+    QuestionIns getSysQuestionBuId(@RequestParam("quesId") Integer quesId);
 
 }

--
Gitblit v1.7.1