From 69bb0228a93381c09aef681481dd34d0ad7de94f Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期二, 17 五月 2022 10:21:58 +0800 Subject: [PATCH] 1.修改访客记录入口逻辑 2.更新全视通dll(修改生成临时凭证逻辑) --- HDL_ON/Entity/Function/Function.cs | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/HDL_ON/Entity/Function/Function.cs b/HDL_ON/Entity/Function/Function.cs index 3772dc2..b64d1e6 100644 --- a/HDL_ON/Entity/Function/Function.cs +++ b/HDL_ON/Entity/Function/Function.cs @@ -556,6 +556,13 @@ SaveFunctionFile(); if (pack.Code == StateCode.SUCCESS) { + if (UI.RoomPage.bodyView != null) + { + Application.RunOnMainThread(() => + { + UI.RoomPage.bodyView.ReLoadPage(); + }); + } } else { @@ -709,12 +716,8 @@ sendDataObj.time_stamp = Utlis.GetTimestamp(); var acd = new AlinkDoorlockStatus(); acd.sid = sid; - acd.user_id = userId; + acd.user_id = extStr; acd.ext_str = extStr; -#if DEBUG - acd.user_id = "013"; - acd.ext_str = "999999"; -#endif sendDataObj.objects.Add(acd); return sendDataObj; } -- Gitblit v1.8.0