xingzai hace 1 año
padre
commit
d4e98a4519
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      controllers/activity.go

+ 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