商品分类
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package jdshop
|
package jdshop
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
@@ -371,6 +372,7 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
|
|||||||
vendorCatID int
|
vendorCatID int
|
||||||
)
|
)
|
||||||
if storeSku.VendorCatID == "" {
|
if storeSku.VendorCatID == "" {
|
||||||
|
fmt.Println("testCat", storeSku.VendorCatID)
|
||||||
resultCat, _ := api.JdShopAPI.FindShopCategories()
|
resultCat, _ := api.JdShopAPI.FindShopCategories()
|
||||||
for _, v := range resultCat {
|
for _, v := range resultCat {
|
||||||
if v.Name == storeSku.CategoryName {
|
if v.Name == storeSku.CategoryName {
|
||||||
|
|||||||
Reference in New Issue
Block a user