This commit is contained in:
richboo111
2023-06-16 15:34:36 +08:00
10 changed files with 164 additions and 55 deletions

View File

@@ -13,12 +13,20 @@ type Points struct {
/*商品分类*/
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"`
}