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);