浏览代码

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

xingzai 1 年之前
父节点
当前提交
1b901dcae1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      services/cygx/activity_poster.go

+ 2 - 2
services/cygx/activity_poster.go

@@ -256,7 +256,7 @@ func MakeCygxMp3HtmlImg(videoDuration string) (imgUrl string, err error) {
 	videoDuration = utils.HideSecondsToMs(secondNum)
 
 	configValue := detailConfig.ConfigValue
-	configValue = strings.Replace(configValue, "{{TITLE}}", videoDuration, -1)
+	configValue = strings.Replace(configValue, "{{TIME}}", videoDuration, -1)
 	htm2ImgReq := make(map[string]interface{})
 	htm2ImgReq["html_content"] = configValue
 	htm2ImgReq["width"] = 1364
@@ -295,7 +295,7 @@ func MakeCygxMp4HtmlImg(videoDuration string) (imgUrl string, err error) {
 	videoDuration = utils.HideSecondsToMs(secondNum)
 
 	configValue := detailConfig.ConfigValue
-	configValue = strings.Replace(configValue, "{{TITLE}}", videoDuration, -1)
+	configValue = strings.Replace(configValue, "{{TIME}}", videoDuration, -1)
 	htm2ImgReq := make(map[string]interface{})
 	htm2ImgReq["html_content"] = configValue
 	htm2ImgReq["width"] = 1364