Browse Source

Merge branch 'mfyx_2.0' of http://8.136.199.33:3000/cxzhang/hongze_mfyx into debug

xingzai 1 year ago
parent
commit
8b06764ca4
1 changed files with 4 additions and 0 deletions
  1. 4 0
      controllers/article.go

+ 4 - 0
controllers/article.go

@@ -217,6 +217,10 @@ func (this *ArticleController) Detail() {
 	if detail.ArticleTypeId == 14 {
 		detail.IsApplyAppointmentExpert = true //判断文章类型是否属于专家访谈  查研观向11.0
 	}
+	if user.UserId == 0 {
+		hasPermission = 1
+	}
+
 	resp.HasPermission = hasPermission
 	resp.HaveResearch = haveResearch