xingzai 1 vuosi sitten
vanhempi
commit
bbac7ee936
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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 = "参数错误"