xingzai пре 3 година
родитељ
комит
4517eea6be
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
 		}
 	}