1
This commit is contained in:
30
platformapi/tao_vegetable/store_info.go
Normal file
30
platformapi/tao_vegetable/store_info.go
Normal file
@@ -0,0 +1,30 @@
|
||||
package tao_vegetable
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
//func (a API) QueryStoreDetailsList() {
|
||||
// a.client.ServerUrl = "qimen.taobao.qimen.pos.store.get"
|
||||
// storeCategory := ability587.NewAbility587(&a.client)
|
||||
// resp, err := storeCategory.AlibabaWdkSkuCategoryQuery(&request.AlibabaWdkSkuCategoryQueryRequest{Param: &domain.AlibabaWdkSkuCategoryQueryCategoryDo{Code: &code}}, "")
|
||||
// if err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
// if resp.Result.ErrMsg != nil {
|
||||
// return nil, fmt.Errorf("requestId:" + resp.RequestId + "msg:" + *resp.Result.ErrMsg)
|
||||
// }
|
||||
// var info *CategoryInfo
|
||||
// if err := json.Unmarshal([]byte(*resp.Result.Model), &info); err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
//
|
||||
// return info, nil
|
||||
//}
|
||||
Reference in New Issue
Block a user