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