From b9f10aa644d9161cc5946b211b9532a0d6fb5ae0 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Mon, 14 Oct 2024 10:20:16 +0800 Subject: [PATCH] 1 --- api/dao/Question.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/api/dao/Question.go b/api/dao/Question.go index 722fc22..ed72470 100644 --- a/api/dao/Question.go +++ b/api/dao/Question.go @@ -166,9 +166,6 @@ func (r *QuestionDao) GetQuestionPageSearch(req requests.GetQuestionPage, page, // 构建查询条件 query := global.Db.Model(&model.Question{}) - // 是否隐藏 - query = query.Where("is_hide = ?", 0) - // 主键id if req.QuestionId != "" { query = query.Where("question_id = ?", req.QuestionId)