添加淘宝

This commit is contained in:
邹宗楠
2023-06-28 09:45:03 +08:00
parent 9327c466a6
commit c13ba506a0
15 changed files with 556 additions and 36 deletions

View File

@@ -6,20 +6,12 @@ const (
/*商品分类*/
type CategoryInfo struct {
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"`
ChildCategorys []*CategoryInfo `json:"childCategorys"`
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"`
}