From 0f81544dcfd2c6b07a8562fe705a9fc95ba604ec Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Mon, 15 Jul 2024 10:23:05 +0800 Subject: [PATCH] 1 --- api/controller/question.go | 4 ---- 1 file changed, 4 deletions(-) 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