diff --git a/应用/ProductClient/MonitorThread.cs b/应用/ProductClient/MonitorThread.cs index de39a6b..bf38f2f 100644 --- a/应用/ProductClient/MonitorThread.cs +++ b/应用/ProductClient/MonitorThread.cs @@ -18,6 +18,8 @@ using System.Text.RegularExpressions; using System.Threading; using Api.Framework.Data.TB; using Api.Framework.Events; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; using static Api.Framework.Tools.TBHelper.TbAnalysis; namespace ProductClient @@ -262,7 +264,14 @@ namespace ProductClient return; } - EventClient.OnDyyNoticeEvent(null, new DyyNoticeEvent() { Data = html }); + var jObj = JObject.Parse(html); + var r = JsonConvert.SerializeObject(jObj["Result"].Value()); + if (string.IsNullOrWhiteSpace(r)) + { + return; + } + + EventClient.OnDyyNoticeEvent(null, new DyyNoticeEvent() { Data = r }); } catch (Exception ex) {