|
@@ -137,6 +137,11 @@ func (this *ArticleNoLoginController) Detail() {
|
|
|
if detail.ArticleTypeId == 14 {
|
|
|
detail.IsApplyAppointmentExpert = true //判断文章类型是否属于专家访谈 查研观向11.0
|
|
|
}
|
|
|
+ if detail.ArticleTypeId == 0 {
|
|
|
+ detail.ChartPermissionName = utils.GU_SHOU_NAME
|
|
|
+ } else {
|
|
|
+ detail.ChartPermissionName = utils.CHART_PERMISSION_NAME_YANXUAN
|
|
|
+ }
|
|
|
detail.Disclaimers = utils.DISCLAIMERS
|
|
|
detail.ShareImg = services.GetArticleShareImg(articleId)
|
|
|
//作者头像
|