工单 增加 接收服务端推送的新工单,支持 推送增加消息
This commit is contained in:
1 parent
f0f1f1ed9e
commit
6ed2cede16
11 files changed
+429
-205
No files matched your search
@@ -4,6 +4,7 @@ using Newtonsoft.Json;
|
||||
using OrderSupportTicket.Models;
|
||||
using OrderSupportTicket.Models.Api;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Net.Http;
|
||||
@@ -137,6 +138,7 @@ public sealed class EventSourceTicketRealtimeService
|
||||
TicketRealtimeNotification notification;
|
||||
try
|
||||
{
|
||||
Debug.WriteLine(data);
|
||||
notification = JsonConvert.DeserializeObject<TicketRealtimeNotification>(data, TicketApiService.JsonSettings);
|
||||
}
|
||||
catch (JsonException)
|
||||
|
||||
Reference in new issue
Block a user