diff --git a/utils/template_switch_info/template_switch.go b/utils/template_switch_info/template_switch.go index 13cb60c6..f359dc66 100644 --- a/utils/template_switch_info/template_switch.go +++ b/utils/template_switch_info/template_switch.go @@ -8,7 +8,7 @@ import ( type GetTemplateSwitchInfoRsp struct { Id int64 `json:"id"` Material string `json:"material"` - SwitchInfo SwitchInfo `json:"material_data"` + SwitchInfo SwitchInfo `json:"switch_info"` CombineIsVisible bool `json:"combine_is_visible"` //合图总开关是否开启 } type SwitchInfo struct {