xingzai 1 tahun lalu
induk
melakukan
d4e98a4519
1 mengubah file dengan 3 tambahan dan 2 penghapusan
  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