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