|
@@ -69,7 +69,6 @@ func (this *ArticleController) Detail() {
|
|
|
if strings.Contains(detail.CategoryName, utils.CHART_PERMISSION_NAME_YANXUAN) {
|
|
|
resp.IsResearch = true
|
|
|
}
|
|
|
- detail.ShareImg = services.GetArticleShareImg(articleId)
|
|
|
|
|
|
// 高毅资产的联系人,有权限的行业也不能查看报告详情页。提示无权限页面
|
|
|
if detail.ArticleTypeId == 0 && user.CompanyId == utils.GAO_YI_ZI_CHAN_COMPANY_ID {
|
|
@@ -344,6 +343,7 @@ Loop:
|
|
|
if detail.SubCategoryName == "专项调研" {
|
|
|
detail.IsSpecialArticle = true
|
|
|
}
|
|
|
+ detail.ShareImg = services.GetArticleShareImg(articleId)
|
|
|
resp.HasPermission = hasPermission
|
|
|
resp.IsSpecialArticle = detail.IsSpecialArticle
|
|
|
resp.Detail = detail
|