From 72f07745b60b39949d79a2187139e91fce05cd09 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Mon, 21 Aug 2023 15:27:53 +0800 Subject: [PATCH] fix --- .../internal/logic/gettemplatebypidlogic.go | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/server/product/internal/logic/gettemplatebypidlogic.go b/server/product/internal/logic/gettemplatebypidlogic.go index a96152e2..6f464eae 100644 --- a/server/product/internal/logic/gettemplatebypidlogic.go +++ b/server/product/internal/logic/gettemplatebypidlogic.go @@ -117,26 +117,26 @@ func (l *GetTemplateByPidLogic) GetTemplateByPid(req *types.GetTemplateByPidReq, //写死的数据 "material_data": map[string]interface{}{ "QRcode": map[string]interface{}{ - "if_show": true, - "text": "二维码", - "default_val": "默认二维码", + "if_show": true, + "text": "二维码", + "default_value": "默认二维码", }, - "website": map[string]interface{}{ - "if_show": true, - "text": "网站", - "default_val": "默认网站", + "Website": map[string]interface{}{ + "if_show": true, + "text": "网站", + "default_value": "默认网站", }, - "slogan": map[string]interface{}{ - "if_show": true, - "text": "slogan", - "default_val": "默认slogan", + "Address": map[string]interface{}{ + "if_show": true, + "text": "address", + "default_value": "非洲", }, - "phone": map[string]interface{}{ - "if_show": true, - "text": "phone", - "default_val": "默认phone", + "Phone": map[string]interface{}{ + "if_show": true, + "text": "phone", + "default_value": "默认phone", }, - "logo": map[string]interface{}{ + "Logo": map[string]interface{}{ "material": "/image/logo/aHnT1_rzubdwax_scale.png", }, },