From 67165dcb477ae1a5d98f46722592edbac6a78e30 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Fri, 27 Oct 2023 11:02:50 +0800 Subject: [PATCH] fix --- utils/template_switch_info/template_switch.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils/template_switch_info/template_switch.go b/utils/template_switch_info/template_switch.go index 59546d50..55b21346 100644 --- a/utils/template_switch_info/template_switch.go +++ b/utils/template_switch_info/template_switch.go @@ -21,26 +21,31 @@ type SwitchInfo struct { } 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"` }