Explorar o código

Merge branch 'cygx/cygx_12.4' of http://8.136.199.33:3000/hongze/hz_crm_api into debug

xingzai hai 1 ano
pai
achega
d5e82d8d1f
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      controllers/cygx/micro_roadshow.go

+ 6 - 0
controllers/cygx/micro_roadshow.go

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