|
|
@ -314,8 +314,22 @@ namespace BBWY.Server.Business.Sync |
|
|
|
if (!string.IsNullOrEmpty(serviceOrder.WaybillNo) && !string.IsNullOrEmpty(serviceOrder.ExpressName)) |
|
|
|
{ |
|
|
|
#region 订阅快递100
|
|
|
|
try |
|
|
|
{ |
|
|
|
var subscribeResult = restApiService.SendRequest("https://poll.kuaidi100.com", "poll", JsonConvert.SerializeObject(new |
|
|
|
{ |
|
|
|
schema = "json", |
|
|
|
param = new |
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
}), null, HttpMethod.Post, RestApiService.ContentType_Form); |
|
|
|
isUpdateSubscribe = true; |
|
|
|
} |
|
|
|
catch (Exception ex) |
|
|
|
{ |
|
|
|
nLogManager.GetLogger(loggerName).Error(ex, $"SubscribeKuaiDi100 ShopName:{shop.ShopName} ShopId:{shop.ShopId} ServiceId:{serviceOrder.ServiceId}"); |
|
|
|
} |
|
|
|
#endregion
|
|
|
|
} |
|
|
|
|
|
|
|