From e598966e6f247bf70ecd2a7d14a2b43439eb23f1 Mon Sep 17 00:00:00 2001 From: luyie Date: Sat, 21 Sep 2024 15:50:08 +0800 Subject: [PATCH] =?UTF-8?q?add:=E9=97=AE=E9=A2=98=E7=82=B9=E8=B5=9E?= =?UTF-8?q?=E5=92=8C=E8=AF=84=E8=AE=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../maintenance/controller/QuestionAnswerCommentController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/controller/QuestionAnswerCommentController.java b/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/controller/QuestionAnswerCommentController.java index 6126100..2c9c23f 100644 --- a/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/controller/QuestionAnswerCommentController.java +++ b/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/maintenance/controller/QuestionAnswerCommentController.java @@ -7,6 +7,7 @@ import com.hnac.gglm.bigmodel.maintenance.vo.AnswerCommentRequest; import com.hnac.gglm.bigmodel.maintenance.vo.AnswerPraiseRequest; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; +import io.swagger.annotations.ApiParam; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springblade.core.tool.api.R; @@ -50,7 +51,7 @@ public class QuestionAnswerCommentController { @GetMapping("/listByQuestionId") @ApiOperation(value = "根据问题id获取评论列表") @ApiOperationSupport(order = 4) - public R> listByQuestionId(String questionId) { + public R> listByQuestionId(@RequestParam @ApiParam("问题id") String questionId) { return R.data(questionAnswerCommentService.listByQuestionId(questionId)); }