pry 2 年之前
父節點
當前提交
7797327477
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      HKLib/Interfaces/HKLibHelper.cs

+ 3
- 2
HKLib/Interfaces/HKLibHelper.cs 查看文件

@@ -4,6 +4,7 @@ using HKLib.RabbitMQ.Publisher;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using XExten.Advance.HttpFramework.MultiCommon;
using XExten.Advance.HttpFramework.MultiFactory;
using XExten.Advance.LinqFramework;
@@ -41,7 +42,7 @@ namespace HKLib.Interfaces
var res = data.ToModel<JObject>()["data"]["isSuccess"].ToString().AsBool();
if (res)
{
ServiceQueryPush.QueryPush.PushMQAsync(input, "TimeChanged", MQEnum.Push);
Task.Run(() => ServiceQueryPush.QueryPush.PushMQAsync(input, "TimeChanged", MQEnum.Push));
return res;
}
return false;
@@ -164,7 +165,7 @@ namespace HKLib.Interfaces
}).Build().RunStringFirst().ToModel<JObject>()["data"]["isSuccess"].ToString().AsBool();
if (x)
{
ServiceQueryPush.QueryPush.PushMQAsync(input, "CardStutasChanged", MQEnum.Top);
Task.Run(() => ServiceQueryPush.QueryPush.PushMQAsync(input, "CardStutasChanged", MQEnum.Top));
return x;
}
return false;


Loading…
取消
儲存