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", }, },