4444
This commit is contained in:
parent
c5ce251e0d
commit
ade641dddf
@ -98,12 +98,6 @@ func (r *Article) GetArticle(c *gin.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// 检测状态
|
|
||||||
if article.ArticleStatus == 2 {
|
|
||||||
responses.OkWithData(nil, c)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// 获取文章作者
|
// 获取文章作者
|
||||||
articleAuthorDao := dao.ArticleAuthorDao{}
|
articleAuthorDao := dao.ArticleAuthorDao{}
|
||||||
articleAuthors, err := articleAuthorDao.GetArticleAuthorListPreloadByAuthorId(articleId)
|
articleAuthors, err := articleAuthorDao.GetArticleAuthorListPreloadByAuthorId(articleId)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user