1.代运营数据解析
This commit is contained in:
parent
26303e1ffb
commit
3ef91c08da
|
@ -18,6 +18,8 @@ using System.Text.RegularExpressions;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using Api.Framework.Data.TB;
|
using Api.Framework.Data.TB;
|
||||||
using Api.Framework.Events;
|
using Api.Framework.Events;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Linq;
|
||||||
using static Api.Framework.Tools.TBHelper.TbAnalysis;
|
using static Api.Framework.Tools.TBHelper.TbAnalysis;
|
||||||
|
|
||||||
namespace ProductClient
|
namespace ProductClient
|
||||||
|
@ -262,7 +264,14 @@ namespace ProductClient
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
EventClient.OnDyyNoticeEvent(null, new DyyNoticeEvent() { Data = html });
|
var jObj = JObject.Parse(html);
|
||||||
|
var r = JsonConvert.SerializeObject(jObj["Result"].Value<Object>());
|
||||||
|
if (string.IsNullOrWhiteSpace(r))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
EventClient.OnDyyNoticeEvent(null, new DyyNoticeEvent() { Data = r });
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue