|
@@ -633,8 +633,8 @@ func (this *ActivityCoAntroller) PreserveAndPublish() {
|
|
|
itemVoice.VoiceName = vo.Name
|
|
|
itemVoice.VoiceUrl = vo.Url
|
|
|
itemVoice.VoicePlaySeconds = vo.PlaySeconds
|
|
|
- itemVoice.BackgroundImg = vo.BackgroundImg
|
|
|
- itemVoice.ShareImg = vo.ShareImg
|
|
|
+ itemVoice.BackgroundImg = req.BackgroundImg
|
|
|
+ itemVoice.ShareImg = req.ShareImg
|
|
|
itemVoice.CreateTime = time.Now()
|
|
|
}
|
|
|
}
|
|
@@ -645,8 +645,8 @@ func (this *ActivityCoAntroller) PreserveAndPublish() {
|
|
|
itemVideo.ActivityId = activityId
|
|
|
itemVideo.VideoDuration = videoDetail.VideoDuration
|
|
|
itemVideo.VideoUrl = videoDetail.VideoUrl
|
|
|
- itemVideo.BackgroundImg = videoDetail.BackgroundImg
|
|
|
- itemVideo.ShareImg = videoDetail.ShareImg
|
|
|
+ itemVideo.BackgroundImg = req.BackgroundImg
|
|
|
+ itemVideo.ShareImg = req.ShareImg
|
|
|
itemVideo.ModifyDate = time.Now().Format(utils.FormatDateTime)
|
|
|
itemVideo.CreateTime = time.Now().Format(utils.FormatDateTime)
|
|
|
}
|