商品透图修改
This commit is contained in:
@@ -837,10 +837,13 @@ func buildUpdateSkusParam(storeSku *dao.StoreSkuSyncInfo, v *dao.StoreSkuSyncInf
|
||||
} else {
|
||||
sku.StockNum = "0"
|
||||
}
|
||||
fmt.Println("test1")
|
||||
if !isCreate {
|
||||
fmt.Println("test2")
|
||||
result, err2 := api.JdShopAPI.FindSkuById(utils.Str2Int64(v.VendorSkuID))
|
||||
err = err2
|
||||
if specQuality != result.SaleAttrs[0].AttrValueAlias[0] {
|
||||
fmt.Println("test3")
|
||||
api.JdShopAPI.DeleteSku(utils.Str2Int64(v.VendorSkuID))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user