From 0872bd05123a6c9c8fa46a44465b7a703f676fb4 Mon Sep 17 00:00:00 2001 From: lisy <linlangsur163@163.com> Date: 星期四, 13 七月 2023 14:58:51 +0800 Subject: [PATCH] 使用福利:积分兑换记录的详情查询 --- cloud-server-other/src/main/java/com/dsh/other/controller/AskedQuestionsController.java | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/controller/AskedQuestionsController.java b/cloud-server-other/src/main/java/com/dsh/other/controller/AskedQuestionsController.java index ae9072a..0f7bd74 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/controller/AskedQuestionsController.java +++ b/cloud-server-other/src/main/java/com/dsh/other/controller/AskedQuestionsController.java @@ -7,10 +7,7 @@ import com.dsh.other.model.vo.questionVo.QuestionIns; import com.dsh.other.service.FrequentlyAskedQuestionsService; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; import java.text.SimpleDateFormat; import java.util.ArrayList; @@ -50,7 +47,7 @@ @PostMapping("/base/notice/queryQuestion") - public QuestionIns getSysQuestionBuId(@RequestBody Integer quesId){ + public QuestionIns getSysQuestionBuId(@RequestParam("quesId") Integer quesId){ QuestionIns sysNotice = new QuestionIns(); FrequentlyAskedQuestions notice = faqService.getById(quesId); if (null != notice){ -- Gitblit v1.7.1