ziwen 2 年之前
父节点
当前提交
2909e72147
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
 			}
 		}