|
@@ -367,16 +367,21 @@ namespace DataSharing.Application.Receivers
|
|
|
await _policeService.SingForPoliceAsync(dto, cancellationToken);
|
|
|
}
|
|
|
|
|
|
- if (_sharingConfigurationManager.GetZiGongConfig().SmartCitySystem.IsSendPush == true)
|
|
|
- {
|
|
|
- //自贡智慧城市系统
|
|
|
- if (!string.IsNullOrEmpty(dto.OrderTagCode) && dto.OrderTagCode.IndexOf("zgdh") > -1)
|
|
|
+ if (_sharingConfigurationManager.GetZiGongConfig().SmartCitySystem.IsSendPush == true)
|
|
|
{
|
|
|
- //其他服务推送
|
|
|
- await _sendTaskDataService.OtherSendTask("zgdh", dto, cancellationToken);
|
|
|
+ //自贡智慧城市系统
|
|
|
+ if (!string.IsNullOrEmpty(dto.OrderTagCode) && dto.OrderTagCode.IndexOf("zgdh") > -1)
|
|
|
+ {
|
|
|
+ //其他服务推送
|
|
|
+ await _sendTaskDataService.OtherSendTask("zgdh", dto, cancellationToken);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ catch (Exception)
|
|
|
+ {
|
|
|
+ }
|
|
|
+
|
|
|
#endregion
|
|
|
|
|
|
//是否需要往第三方推送
|