From 8050b6f4c162988ff0ae6d3fcc22aa0990ae0e4f Mon Sep 17 00:00:00 2001 From: nickchange <126672920+nickchange@users.noreply.github.com> Date: 星期五, 01 十二月 2023 18:01:36 +0800 Subject: [PATCH] 12.1 --- 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