xingzai 1 жил өмнө
parent
commit
d4e98a4519

+ 3 - 2
controllers/activity.go

@@ -1719,8 +1719,9 @@ func (this *ActivityController) ActivityListSearch() {
 		if strings.Contains(v.ChartPermissionName, utils.CHART_PERMISSION_NAME_YANXUAN) {
 			item.IsResearch = true
 		}
-		//if v.VoiceList != nil || v.VideoDetail != nil {
-		item.AudioLink = true
+		if v.VoiceList != nil || v.VideoDetail != nil {
+			item.AudioLink = true
+		}
 		if v.FileType == 1 {
 			if v.VoiceList != nil {
 				item.VoiceDetail = v.VoiceList