From ed910df0b8682c25378fe2ab8ce9e2b36c7e629d Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Fri, 27 Oct 2023 11:29:39 +0800 Subject: [PATCH] fix --- utils/template_switch_info/template_switch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {