This commit is contained in:
苏尹岚
2020-11-25 10:04:04 +08:00
parent aa19958d42
commit 8a51c158a4
2 changed files with 12 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ func (p *PurchaseHandler) UploadImg(ctx *jxcontext.Context, vendorOrgCode, imgUR
}
func (p *PurchaseHandler) GetVendorCategories(ctx *jxcontext.Context) (vendorCats []*model.SkuVendorCategory, err error) {
result, err := api.JdShopAPI.FindVendorCategories()
result, err := api.JdShop2API.FindVendorCategories()
for _, v := range result {
cat := &model.SkuVendorCategory{
VendorID: model.VendorIDJDShop,