|
|
@ -231,7 +231,7 @@ namespace BBWY.Server.Business.Sync |
|
|
|
var shopList = venderBusiness.GetShopList(platform: Enums.Platform.京东); |
|
|
|
foreach (var shop in shopList) |
|
|
|
{ |
|
|
|
Task.Factory.StartNew(() => SyncServiceOrder(shop, string.Empty, isAuto: true), |
|
|
|
Task.Factory.StartNew(() => SubscribeKuaiDi100(shop), |
|
|
|
System.Threading.CancellationToken.None, |
|
|
|
TaskCreationOptions.LongRunning, |
|
|
|
taskSchedulerManager.SyncServiceOrderTaskScheduler); |
|
|
@ -241,7 +241,7 @@ namespace BBWY.Server.Business.Sync |
|
|
|
public void SubscribeKuaiDi100(long shopId) |
|
|
|
{ |
|
|
|
var shop = venderBusiness.GetShopList(shopId).FirstOrDefault(); |
|
|
|
Task.Factory.StartNew(() => SyncServiceOrder(shop, string.Empty, isAuto: true), |
|
|
|
Task.Factory.StartNew(() => SubscribeKuaiDi100(shop), |
|
|
|
System.Threading.CancellationToken.None, |
|
|
|
TaskCreationOptions.LongRunning, |
|
|
|
taskSchedulerManager.SyncServiceOrderTaskScheduler); |
|
|
|