pry há 2 anos
ascendente
cometimento
7797327477
1 ficheiros alterados com 3 adições e 2 eliminações
  1. +3
    -2
      HKLib/Interfaces/HKLibHelper.cs

+ 3
- 2
HKLib/Interfaces/HKLibHelper.cs Ver ficheiro

@@ -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;


Carregando…
Cancelar
Guardar