diff --git a/api/controller/question.go b/api/controller/question.go index 5d14f96..f1c6334 100644 --- a/api/controller/question.go +++ b/api/controller/question.go @@ -46,10 +46,6 @@ func (r *Question) GetQuestionPage(c *gin.Context) { // 处理返回值 GetQuestionPageResponses := dto.GetQuestionListDto(question) - if err != nil { - responses.FailWithMessage(err.Error(), c) - return - } result := make(map[string]interface{}) result["page"] = req.Page