商品分类
This commit is contained in:
@@ -372,7 +372,7 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
|
|||||||
vendorCatID int
|
vendorCatID int
|
||||||
)
|
)
|
||||||
if storeSku.VendorCatID == "0" {
|
if storeSku.VendorCatID == "0" {
|
||||||
fmt.Println("testCat", storeSku.VendorCatID)
|
fmt.Println("testCat2", utils.Format4Output(storeSku, false))
|
||||||
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