This commit is contained in:
邹宗楠
2023-06-15 15:21:36 +08:00
parent d84fd34341
commit 9327c466a6
9 changed files with 92 additions and 55 deletions

View File

@@ -6,12 +6,20 @@ const (
/*商品分类*/
type CategoryInfo struct {
Code string `json:"code"` // 类目编码
Name string `json:"name"` // 类目名称
Leaf string `json:"leaf"` // 是否叶子结点
SortOrder string `json:"sortOrder"` // 排序值
Desc string `json:"desc"` // 详细描述
ChildCategorys string `json:"childCategorys"` // 子节点信息
ForestId string `json:"forestId"` // 类目id
ParentForestId string `json:"parentForestId"` // 父节点id
ChildCategorys []struct {
Code string `json:"code"` // 类目编码
Desc string `json:"desc"` // 详细描述
ForestId int `json:"forestId"` // 类目id
Leaf bool `json:"leaf"` // 是否叶子结点
Name string `json:"name"` // 类目名称
ParentForestId int `json:"parentForestId"` // 父节点id
Status int `json:"status"`
} `json:"childCategorys"`
Code string `json:"code"`
Desc string `json:"desc"`
ForestId int `json:"forestId"`
Leaf bool `json:"leaf"`
Name string `json:"name"`
ParentForestId int `json:"parentForestId"`
Status int `json:"status"`
}