瀏覽代碼

Merge branch 'cygx/cygx_11.3' of http://8.136.199.33:3000/hongze/hz_crm_api into debug

xingzai 1 年之前
父節點
當前提交
834a2e5178
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      controllers/cygx/activity.go

+ 4 - 4
controllers/cygx/activity.go

@@ -651,8 +651,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()
 					}
 				}
@@ -663,8 +663,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)
 				}