浏览代码

泸州110对接 泸州边界平台业务对接

libin 2 月之前
父节点
当前提交
7f9b84aa38
共有 1 个文件被更改,包括 11 次插入6 次删除
  1. 11 6
      src/DataSharing.Application/Receivers/ProvinceReceiver.cs

+ 11 - 6
src/DataSharing.Application/Receivers/ProvinceReceiver.cs

@@ -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
 
             //是否需要往第三方推送