@@ -145,6 +145,9 @@ func (this *ArticleNoLoginController) Detail() {
detail.ShareImg = departmentDetail.ImgUrl
}
+ if user.UserId == 0 {
+ hasPermission = 1
+ }
resp.HasPermission = hasPermission
resp.IsSpecialArticle = detail.IsSpecialArticle
resp.Detail = detail