京东商城修改,删除规格

This commit is contained in:
苏尹岚
2020-05-20 14:39:33 +08:00
parent 510f9805c3
commit 040206b63e
3 changed files with 2 additions and 4 deletions

View File

@@ -1221,7 +1221,7 @@ func AddStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, vendorID int, vend
//绑定京东商城后,需要对绑定的门店现有的和模板店相同且可售的商品设置京东商城的门店库存
//TODO SyncFlagSaleMask对京东商城来说修改门店商品状态就是修改库存
if _, err = SetStoreSkuSyncStatus2(db, nil, []int{model.VendorIDJDShop}, findSkusBetweenJdsMainStore(db, storeID), model.SyncFlagSaleMask); err == nil {
CurVendorSync.SyncStoresSkus(ctx, nil, 0, db, nil, []int{storeID}, nil, false, true, true)
// CurVendorSync.SyncStoresSkus(ctx, nil, 0, db, nil, []int{storeID}, nil, false, true, true)
}
}
if globals.IsAddEvent {