|
|
@ -12,6 +12,7 @@ using SDKAdapter; |
|
|
|
using SDKAdapter.OperationPlatform.Models; |
|
|
|
using SDKAdapter.PurchasePlatform.Client; |
|
|
|
using SDKAdapter.PurchasePlatform.Models; |
|
|
|
using System.Net; |
|
|
|
using System.Text; |
|
|
|
using Yitter.IdGenerator; |
|
|
|
|
|
|
@ -244,23 +245,7 @@ namespace BBWYB.Server.Business |
|
|
|
SchemeId = cargoParam.SchemeId, |
|
|
|
SourceSkuId = orderSku?.BelongSkuId |
|
|
|
}); |
|
|
|
try |
|
|
|
{ |
|
|
|
var qikuResponse = restApiService.SendRequest("http://qiku.qiyue666.com/", |
|
|
|
"api/PurchaseTask/UpdateOrderPackState", |
|
|
|
new |
|
|
|
{ |
|
|
|
SkuId = orderSku?.BelongSkuId, |
|
|
|
OrderId = request.OrderId |
|
|
|
}, |
|
|
|
null, |
|
|
|
HttpMethod.Post); |
|
|
|
if (qikuResponse.StatusCode != System.Net.HttpStatusCode.OK) |
|
|
|
throw new Exception(qikuResponse.Content); |
|
|
|
} |
|
|
|
catch |
|
|
|
{ |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|