diff --git a/CPF_Cef/Common/ChunkedUpload.cs b/CPF_Cef/Common/ChunkedUpload.cs index 7eb27a1..1b7581e 100644 --- a/CPF_Cef/Common/ChunkedUpload.cs +++ b/CPF_Cef/Common/ChunkedUpload.cs @@ -136,6 +136,9 @@ namespace AksWebBrowser.Common { try { + //关闭签字版 + await PublicSign("close", 2, timeout); + Task.Delay(1000).Wait(); string body = await PublicSign(type, typeCode, timeout); if (!string.IsNullOrEmpty(body)) { @@ -381,6 +384,8 @@ namespace AksWebBrowser.Common { try { + await PublicFinger("close", 2, timeout); + Task.Delay(1000).Wait(); string body = await PublicFinger(type, typeCode, timeout); if (!string.IsNullOrEmpty(body)) { diff --git a/CPF_Cef/MainModel.cs b/CPF_Cef/MainModel.cs index 5d8de7b..f5f0b19 100644 --- a/CPF_Cef/MainModel.cs +++ b/CPF_Cef/MainModel.cs @@ -54,7 +54,7 @@ namespace AKS.EnterpriseLibrary.WebBrowser { //返回内容 string result = string.Empty; - // content = Base64str2(content); + content = Base64str2(content); // Log.Info("收到请求:" + socket.ConnectionInfo.ClientIpAddress + " 请求参数:" + content); if (!string.IsNullOrEmpty(content)) { diff --git a/CPF_Cef/Parame.cs b/CPF_Cef/Parame.cs index 6c95420..e88e202 100644 --- a/CPF_Cef/Parame.cs +++ b/CPF_Cef/Parame.cs @@ -30,7 +30,7 @@ namespace AksWebBrowser //高拍仪devIndex public static string gpydevIndex = "0"; //签字版、指纹、身份证 - public static string signUrl = "http://192.168.0.234:9399/device"; + public static string signUrl = "http://127.0.0.1:9399/device"; public static int timeout = 3000; //票据打印机 public static string pritPj = "/dev/ttyS7";