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)); }