Browse Source

no message

xingzai 1 năm trước cách đây
mục cha
commit
bbac7ee936
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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 = "参数错误"