This commit is contained in:
laodaming 2023-10-27 10:42:52 +08:00
parent ebd7c05523
commit 5b4ea9995b

View File

@ -97,31 +97,31 @@ func GetTemplateSwitchInfo(templateId int64, templateJsonStr *string, templateMa
returnData.MaterialData.Phone = Phone{
IfShow: v.Visible,
Text: v.Text,
DefaultValue: "000 xxx xxx 1111",
DefaultValue: "your phone",
}
case "Address": //地址
returnData.MaterialData.Address = Address{
IfShow: v.Visible,
Text: v.Text,
DefaultValue: "USA",
DefaultValue: "your address",
}
case "Website":
returnData.MaterialData.Website = Website{
IfShow: v.Visible,
Text: v.Text,
DefaultValue: "https://www.xxxxxx.com",
DefaultValue: "your website",
}
case "QRcode":
returnData.MaterialData.QRcode = QRcode{
IfShow: v.Visible,
Text: v.Text,
DefaultValue: "qrcode xxxxxxx",
DefaultValue: "your qrcode content",
}
case "Slogan":
returnData.MaterialData.Slogan = Slogan{
IfShow: v.Visible,
Text: v.Text,
DefaultValue: "slogan xxxxxxx",
DefaultValue: "your slogan",
}
}
}