商品分类
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user