商品分类

This commit is contained in:
苏尹岚
2020-05-22 14:41:57 +08:00
parent 074f1f25d4
commit 50572269d4

View File

@@ -1,6 +1,7 @@
package jdshop
import (
"fmt"
"regexp"
"strings"
@@ -371,6 +372,7 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
vendorCatID int
)
if storeSku.VendorCatID == "" {
fmt.Println("testCat", storeSku.VendorCatID)
resultCat, _ := api.JdShopAPI.FindShopCategories()
for _, v := range resultCat {
if v.Name == storeSku.CategoryName {