|
@@ -186,7 +186,12 @@ func (this *ArticleController) Detail() {
|
|
|
} else {
|
|
|
articlePermissionName = detail.CategoryName
|
|
|
}
|
|
|
- detail.ChartPermissionName = articlePermissionName
|
|
|
+ if resp.IsResearch {
|
|
|
+ detail.ChartPermissionName = utils.MAI_FANG_YAN_XUAN_NAME
|
|
|
+ } else {
|
|
|
+ detail.ChartPermissionName = articlePermissionName
|
|
|
+ }
|
|
|
+
|
|
|
var hasPersion bool
|
|
|
slice := strings.Split(articlePermissionName, ",")
|
|
|
for _, v := range slice {
|