Files
baseapi/platformapi/tao_vegetable/store_model.go

25 lines
854 B
Go

package tao_vegetable
const (
BaseUrl = "https://eco.taobao.com/router/rest/" //正式环境
DefaultChannelSourceType = 31 //默认渠道
)
type Points struct {
Lng string `json:"lng"`
Lat string `json:"lat"`
}
/*商品分类*/
type CategoryInfo struct {
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"`
}