From df2e94580f6a24a14d08b6535dc166625b2b2caa Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期二, 28 十一月 2023 20:35:47 +0800
Subject: [PATCH] 更新
---
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