|
@@ -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
|