Browse Source

1

AddValidOverTime
shanji 2 years ago
parent
commit
75c6753d86
  1. 10
      BBWY.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs

10
BBWY.Server.Business/PurchaseOrder/PurchaseOrderBusiness.cs

@ -4,15 +4,12 @@ using BBWY.Server.Model;
using BBWY.Server.Model.Db;
using BBWY.Server.Model.Dto;
using FreeSql;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using QuanTan.SDK.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Yitter.IdGenerator;
@ -394,7 +391,12 @@ namespace BBWY.Server.Business
private void DeliveryCallbackFrom1688(JObject jObject)
{
var purchaseOrderId = jObject["data"].Value<string>("orderId");
Task.Factory.StartNew(() => DeliveryCallback(purchaseOrderId, null, Enums.Platform.), CancellationToken.None, TaskCreationOptions.LongRunning, taskSchedulerManager.PurchaseOrderCallbackTaskScheduler);
//处理一键代发的回调
//Task.Factory.StartNew(() => DeliveryCallback(purchaseOrderId, null, Enums.Platform.阿里巴巴), CancellationToken.None, TaskCreationOptions.LongRunning, taskSchedulerManager.PurchaseOrderCallbackTaskScheduler);
//处理采购单的回调
}
/// <summary>

Loading…
Cancel
Save