工单 增加 接收服务端推送的新工单,支持 推送增加消息

This commit is contained in:
chfei committed 2026-10-22 09:48:12 +08:00
1 parent f0f1f1ed9e
commit 6ed2cede16
11 files changed
+429 -205

No files matched your search

@@ -1,9 +1,10 @@
using Newtonsoft.Json;
using Newtonsoft.Json;
using OrderSupportTicket.Models.Api;
namespace OrderSupportTicket.Models;
/// <summary>
/// SSE 实时通知。通知只包含摘要定位信息,收到后需要重新查询对应工单。
/// SSE 实时通知。包含工单摘要与完整消息,可直接增量构建会话。
/// </summary>
public sealed class TicketRealtimeNotification
{
@@ -49,6 +50,10 @@ public sealed class TicketRealtimeNotification
////[JsonProperty("occurredAt")]
public string OccurredAt { get; set; }
public WorkOrderSummaryDto Ticket { get; set; }
public TicketMessageDto Message { get; set; }
/// <summary>
/// 是否要求客户端执行全量重新同步。
/// </summary>