Explorar o código

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

xingzai %!s(int64=3) %!d(string=hai) anos
pai
achega
79b3c7a743
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
 		}
 	}