fix:修复强制推送参数失效的问题

This commit is contained in:
hardstylewyl 2025-04-18 15:36:32 +08:00
parent 3783608594
commit 1457172a93

View File

@ -243,7 +243,7 @@ public class TrackPushEventHandler : ITransientDependency, ICapSubscribe
// 推送新增,需要根据上一次的推送 推断 本次推送 是否可行,为了约束顺序
// 如果当前推送code与订单上的最后的code不一致,则考虑推送映射顺序
if (!string.Equals(order.LatestPushTrackCode, @event.TrackCode))
if (!@event.ForcedPush && !string.Equals(order.LatestPushTrackCode, @event.TrackCode))
{
config = GetValidPushConfigAsync(sortedConfigs, order.LatestPushTrackCode, @event);
if (config == null)