shanji 3 years ago
parent
commit
2101adc46f
  1. 1
      BBWY.Server.Business/Sync/ProductSyncBusiness.cs

1
BBWY.Server.Business/Sync/ProductSyncBusiness.cs

@ -148,6 +148,7 @@ namespace BBWY.Server.Business.Sync
public void SyncAllShopProduct()
{
var shopList = venderBusiness.GetShopList();
//SyncProduct(shopList[0]);
foreach (var shop in shopList)
{
Task.Factory.StartNew(() => SyncProduct(shop), System.Threading.CancellationToken.None, TaskCreationOptions.LongRunning, taskSchedulerManager.ProductSyncTaskScheduler);

Loading…
Cancel
Save