浏览代码

no message

xingzai 1 年之前
父节点
当前提交
bbac7ee936
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      controllers/cygx/micro_roadshow.go

+ 6 - 0
controllers/cygx/micro_roadshow.go

@@ -679,6 +679,12 @@ func (this *MicroRoadshowController) VoiceDeatil() {
 		return
 		return
 	}
 	}
 	voiceId, _ := this.GetInt("VoiceId")
 	voiceId, _ := this.GetInt("VoiceId")
+	videoId, _ := this.GetInt("VideoId")
+
+	//参数ID做兼容
+	if voiceId == 0 {
+		voiceId = videoId
+	}
 
 
 	if voiceId <= 0 {
 	if voiceId <= 0 {
 		br.Msg = "参数错误"
 		br.Msg = "参数错误"