京东分类

This commit is contained in:
苏尹岚
2020-09-17 15:52:56 +08:00
parent 6e5b3ea3cb
commit dcc4e2dc6f

View File

@@ -114,7 +114,7 @@ func (p *PurchaseHandler) ReorderCategories2(ctx *jxcontext.Context, vendorOrgCo
func (p *PurchaseHandler) getVendorCategories(level int, pid int64) (vendorCats []*model.SkuVendorCategory, err error) {
// 得到平台的分类,不需要指定分账号
cats, err := api.Jd2API.QueryChildCategoriesForOP(pid)
cats, err := api.JdAPI.QueryChildCategoriesForOP(pid)
if err != nil {
return nil, err
}