ziwen 2 years ago
parent
commit
2909e72147
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controller/voice_broadcast/voice_broadcast.go

+ 1 - 1
controller/voice_broadcast/voice_broadcast.go

@@ -236,7 +236,7 @@ func SectionList(c *gin.Context) {
 		}
 		for _, section := range sList {
 			_,ok := bannedMap[section.SectionId]
-			if section.Status != 0 && ok {
+			if section.Status != 0 || ok {
 				newsList = append(newsList, section)
 			}
 		}