浏览代码

no message

xingzai 1 年之前
父节点
当前提交
d4e98a4519
共有 1 个文件被更改,包括 3 次插入2 次删除
  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) {
 		if strings.Contains(v.ChartPermissionName, utils.CHART_PERMISSION_NAME_YANXUAN) {
 			item.IsResearch = true
 			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.FileType == 1 {
 			if v.VoiceList != nil {
 			if v.VoiceList != nil {
 				item.VoiceDetail = v.VoiceList
 				item.VoiceDetail = v.VoiceList