fix
This commit is contained in:
@@ -23,31 +23,26 @@ type QRcode struct {
|
||||
IfShow bool `json:"if_show"`
|
||||
UserDisabled bool `json:"user_disabled"`
|
||||
Text string `json:"text"`
|
||||
DefaultValue string `json:"default_value"`
|
||||
}
|
||||
type Website struct {
|
||||
IfShow bool `json:"if_show"`
|
||||
UserDisabled bool `json:"user_disabled"`
|
||||
Text string `json:"text"`
|
||||
DefaultValue string `json:"default_value"`
|
||||
}
|
||||
type Address struct {
|
||||
IfShow bool `json:"if_show"`
|
||||
UserDisabled bool `json:"user_disabled"`
|
||||
Text string `json:"text"`
|
||||
DefaultValue string `json:"default_value"`
|
||||
}
|
||||
type Slogan struct {
|
||||
IfShow bool `json:"if_show"`
|
||||
UserDisabled bool `json:"user_disabled"`
|
||||
Text string `json:"text"`
|
||||
DefaultValue string `json:"default_value"`
|
||||
}
|
||||
type Phone struct {
|
||||
IfShow bool `json:"if_show"`
|
||||
UserDisabled bool `json:"user_disabled"`
|
||||
Text string `json:"text"`
|
||||
DefaultValue string `json:"default_value"`
|
||||
}
|
||||
type Logo struct {
|
||||
Material string `json:"material"`
|
||||
@@ -72,23 +67,18 @@ func GetTemplateSwitchInfo(templateId int64, templateJsonStr *string, templateMa
|
||||
SwitchInfo: SwitchInfo{
|
||||
QRcode: QRcode{
|
||||
UserDisabled: true,
|
||||
DefaultValue: "your qrcode",
|
||||
},
|
||||
Website: Website{
|
||||
UserDisabled: true,
|
||||
DefaultValue: "your website",
|
||||
},
|
||||
Address: Address{
|
||||
UserDisabled: true,
|
||||
DefaultValue: "your address",
|
||||
},
|
||||
Phone: Phone{
|
||||
UserDisabled: true,
|
||||
DefaultValue: "your phone",
|
||||
},
|
||||
Slogan: Slogan{
|
||||
UserDisabled: true,
|
||||
DefaultValue: "your slogan",
|
||||
},
|
||||
Logo: Logo{
|
||||
Material: "/image/logo/aHnT1_rzubdwax_scale.png",
|
||||
|
||||
Reference in New Issue
Block a user