Преглед изворни кода

Merge branch 'cygx_5.2' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai пре 3 година
родитељ
комит
79b3c7a743
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      controllers/article.go

+ 1 - 1
controllers/article.go

@@ -332,7 +332,7 @@ Loop:
 		return
 	}
 	if detailConfig.ConfigValue == "1" {
-		if hasPermission == 5 {
+		if hasPermission == 2 || hasPermission == 4 || hasPermission == 5 {
 			resp.IsShow = true
 		}
 	}