测试jdscookie

This commit is contained in:
苏尹岚
2020-05-19 09:08:42 +08:00
parent 5ccad643d8
commit 8fbe43199b
3 changed files with 8 additions and 5 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, false, true)
CurVendorSync.SyncStoresSkus(ctx, nil, 0, db, nil, []int{storeID}, nil, false, true, true)
}
}
if globals.IsAddEvent {