xiexiaoyuan %!s(int64=2) %!d(string=hai) anos
pai
achega
661d8af342
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      models/fms/contract_service_template.go

+ 2 - 2
models/fms/contract_service_template.go

@@ -47,8 +47,8 @@ type ContractServiceTemplateItem struct {
 }
 
 type ContractServiceTemplateList struct {
-	Title string
-	Children []*ContractServiceTemplateMapItems
+	Title string `json:"title"`
+	Children []*ContractServiceTemplateMapItems `json:"children"`
 }
 
 type ContractServiceTemplateMapItems struct {