京东商城库存同步测试

This commit is contained in:
苏尹岚
2020-05-15 10:36:27 +08:00
parent 006cd1dee5
commit 626bb31e12

View File

@@ -432,6 +432,7 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
now := jxutils.OperationTime2HourMinuteFormat(time.Now())
var failedList []*partner.StoreSkuInfoWithErr
for _, sku := range skus {
fmt.Println("test33333333333333333", utils.Format4Output(sku, false))
if !useVendorPriceDirectly &&
!isSkuLockTimeValid(sku) {
sku.VendorPrice = 0