Browse Source

Merge branch 'master' of http://10.2.1.24:10244/xxe/HKCard

Lishi
747575620@qq.com 2 years ago
parent
commit
6b5441b269
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      HKCardOUT/Logic/RemoteService.cs

+ 8
- 1
HKCardOUT/Logic/RemoteService.cs View File

@@ -7,6 +7,7 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Markup;
using UHFHelper;
using XExten.Advance.HttpFramework.MultiCommon;
using XExten.Advance.HttpFramework.MultiFactory;
using XExten.Advance.LinqFramework;
@@ -39,7 +40,13 @@ namespace HKCardOUT.Logic
t.JsonParam = (new { GateId=StallId, Type = -1, CardNum = CardNo }).ToJson();
t.NodePath = ApiRoute.SyncSaleLog;
}).Build().RunStringFirst();
return bool.Parse(data.ToModel<JObject>()["data"].ToString());
var m= bool.Parse(data.ToModel<JObject>()["data"].ToString());
if (m)
{
UHF_RS485_Helper.GetInstance().OpenBeep(StallId.AsInt());
return m;
}
else return false;
}
/// <summary>
/// 获取店铺信息


Loading…
Cancel
Save