This commit is contained in:
laodaming
2023-08-14 12:05:22 +08:00
parent 06e32e6af9
commit 5bc6f411be
2 changed files with 8 additions and 4 deletions

View File

@@ -183,10 +183,10 @@ func getCombineImage(ctx context.Context, svcCtx *svc.ServiceContext, parseInfo
//需要替换的参数
replaceData := map[string]interface{}{
"logo_url": parseInfo.RenderData.Logo,
"website": "",
"slogan": "",
"address": "",
"phone": "",
"website": parseInfo.RenderData.Website,
"slogan": parseInfo.RenderData.Slogan,
"address": parseInfo.RenderData.Address,
"phone": parseInfo.RenderData.Phone,
"colors": []string{},
"template_tagid": []string{"b1a"},
"is_crop": false,