fix: 修复默认轨迹推送默认参数填充
This commit is contained in:
parent
98d79712d6
commit
4e87546ed1
@ -258,14 +258,14 @@ public class TrackPushEventHandler : ITransientDependency, ICapSubscribe
|
|||||||
var dict = new Dictionary<string, object>()
|
var dict = new Dictionary<string, object>()
|
||||||
{
|
{
|
||||||
//推真实的发生地和发生时间(时间是计算后的)
|
//推真实的发生地和发生时间(时间是计算后的)
|
||||||
// { "location", log.TrackPlace },
|
{ "location", log.TrackPlace },
|
||||||
// { "date", trackDateStr },
|
{ "date", trackDateStr },
|
||||||
// { "timeZone", config.TrackTimeZone ?? log.TrackTimeZone },
|
{ "timeZone", config.TrackTimeZone ?? log.TrackTimeZone },
|
||||||
// { "description", config.TrackEnContentValue },
|
{ "description", config.TrackEnContentValue },
|
||||||
// { "descriptionCn", config.TrackContentValue },
|
{ "descriptionCn", config.TrackContentValue },
|
||||||
// { "code", config.TrackContentCodeValue },
|
{ "code", config.TrackContentCodeValue },
|
||||||
// { "status", config.TrackStatusValue },
|
{ "status", config.TrackStatusValue },
|
||||||
// { "extra", config.ExpandFieldsValue }
|
{ "extra", config.ExpandFieldsValue }
|
||||||
};
|
};
|
||||||
body.Data.Add(dict);
|
body.Data.Add(dict);
|
||||||
log.PushContent = body.ToJson();
|
log.PushContent = body.ToJson();
|
||||||
@ -297,15 +297,15 @@ public class TrackPushEventHandler : ITransientDependency, ICapSubscribe
|
|||||||
};
|
};
|
||||||
var dict = new Dictionary<string, object>()
|
var dict = new Dictionary<string, object>()
|
||||||
{
|
{
|
||||||
// // 推真实的发生地和发生时间(时间是计算后的)
|
// 推真实的发生地和发生时间(时间是计算后的)
|
||||||
// { "location", log.TrackPlace },
|
{ "location", log.TrackPlace },
|
||||||
// { "date", trackDateStr },
|
{ "date", trackDateStr },
|
||||||
// { "timeZone", config.TrackTimeZone ?? log.TrackTimeZone },
|
{ "timeZone", config.TrackTimeZone ?? log.TrackTimeZone },
|
||||||
// { "description", config.TrackEnContentValue },
|
{ "description", config.TrackEnContentValue },
|
||||||
// { "descriptionCn", config.TrackContentValue },
|
{ "descriptionCn", config.TrackContentValue },
|
||||||
// { "code", config.TrackContentCodeValue },
|
{ "code", config.TrackContentCodeValue },
|
||||||
// { "status", config.TrackStatusValue },
|
{ "status", config.TrackStatusValue },
|
||||||
// { "extra", config.ExpandFieldsValue }
|
{ "extra", config.ExpandFieldsValue }
|
||||||
};
|
};
|
||||||
body.Data.Add(dict);
|
body.Data.Add(dict);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user