From ade641dddf1de743d1bd59ed1c8820e68859524f Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Thu, 19 Sep 2024 09:40:23 +0800 Subject: [PATCH] 4444 --- api/controller/Article.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/api/controller/Article.go b/api/controller/Article.go index e36bd3d..029db48 100644 --- a/api/controller/Article.go +++ b/api/controller/Article.go @@ -98,12 +98,6 @@ func (r *Article) GetArticle(c *gin.Context) { return } - // 检测状态 - if article.ArticleStatus == 2 { - responses.OkWithData(nil, c) - return - } - // 获取文章作者 articleAuthorDao := dao.ArticleAuthorDao{} articleAuthors, err := articleAuthorDao.GetArticleAuthorListPreloadByAuthorId(articleId)