Browse Source

no message

xingzai 1 year ago
parent
commit
43a15a4411
1 changed files with 2 additions and 2 deletions
  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