From 4e87546ed1f2bfb990d0eecae7d76ba65e83cbeb Mon Sep 17 00:00:00 2001 From: hardstylewyl <827778732@qq.com> Date: Thu, 19 Dec 2024 10:11:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E8=BD=A8=E8=BF=B9=E6=8E=A8=E9=80=81=E9=BB=98=E8=AE=A4=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E5=A1=AB=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EventHandlers/TrackPushEventHandler.cs | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/SJZY.Track.Application/CAP/EventHandlers/TrackPushEventHandler.cs b/src/SJZY.Track.Application/CAP/EventHandlers/TrackPushEventHandler.cs index 41a5a0cf..b0499656 100644 --- a/src/SJZY.Track.Application/CAP/EventHandlers/TrackPushEventHandler.cs +++ b/src/SJZY.Track.Application/CAP/EventHandlers/TrackPushEventHandler.cs @@ -257,15 +257,15 @@ public class TrackPushEventHandler : ITransientDependency, ICapSubscribe }; var dict = new Dictionary() { - // 推真实的发生地和发生时间(时间是计算后的) - // { "location", log.TrackPlace }, - // { "date", trackDateStr }, - // { "timeZone", config.TrackTimeZone ?? log.TrackTimeZone }, - // { "description", config.TrackEnContentValue }, - // { "descriptionCn", config.TrackContentValue }, - // { "code", config.TrackContentCodeValue }, - // { "status", config.TrackStatusValue }, - // { "extra", config.ExpandFieldsValue } + //推真实的发生地和发生时间(时间是计算后的) + { "location", log.TrackPlace }, + { "date", trackDateStr }, + { "timeZone", config.TrackTimeZone ?? log.TrackTimeZone }, + { "description", config.TrackEnContentValue }, + { "descriptionCn", config.TrackContentValue }, + { "code", config.TrackContentCodeValue }, + { "status", config.TrackStatusValue }, + { "extra", config.ExpandFieldsValue } }; body.Data.Add(dict); log.PushContent = body.ToJson(); @@ -297,15 +297,15 @@ public class TrackPushEventHandler : ITransientDependency, ICapSubscribe }; var dict = new Dictionary() { - // // 推真实的发生地和发生时间(时间是计算后的) - // { "location", log.TrackPlace }, - // { "date", trackDateStr }, - // { "timeZone", config.TrackTimeZone ?? log.TrackTimeZone }, - // { "description", config.TrackEnContentValue }, - // { "descriptionCn", config.TrackContentValue }, - // { "code", config.TrackContentCodeValue }, - // { "status", config.TrackStatusValue }, - // { "extra", config.ExpandFieldsValue } + // 推真实的发生地和发生时间(时间是计算后的) + { "location", log.TrackPlace }, + { "date", trackDateStr }, + { "timeZone", config.TrackTimeZone ?? log.TrackTimeZone }, + { "description", config.TrackEnContentValue }, + { "descriptionCn", config.TrackContentValue }, + { "code", config.TrackContentCodeValue }, + { "status", config.TrackStatusValue }, + { "extra", config.ExpandFieldsValue } }; body.Data.Add(dict);