From 5df006aac405fe996fff71f7854e37c324892367 Mon Sep 17 00:00:00 2001
From: 44323 <443237572@qq.com>
Date: 星期一, 09 十月 2023 18:27:48 +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