From 71e773066818a9167ab39b3f9e6bbfd2c315aa31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=BD=87=E9=98=B3?= Date: Tue, 16 Jul 2024 10:00:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA=E5=85=AC=E5=8F=B8?= =?UTF-8?q?=E4=B8=80=E4=BD=93=E6=9C=BA=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CPF_Cef/FrmMain.cs | 2 +- CPF_Cef/MainModel.cs | 4 +--- CPF_Cef/Parame.cs | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/CPF_Cef/FrmMain.cs b/CPF_Cef/FrmMain.cs index f15548d..c82b683 100644 --- a/CPF_Cef/FrmMain.cs +++ b/CPF_Cef/FrmMain.cs @@ -82,7 +82,7 @@ namespace AksWebBrowser Parame.webBrowser.Width = w; Parame.webBrowser.Height = h; //Parame.webBrowser.Url = "http://143.169.62.3:8096/#/main-out";//天府新区 - Parame.webBrowser.Url = "http://192.168.0.234:8096/#/main-out"; + Parame.webBrowser.Url = "http://127.0.0.1:8096/#/main-out"; //Parame.webBrowser.Url = "http://192.168.0.34:8078/#/main-out"; //Parame.webBrowser.Url = Application.StartupPath + @"\html\index.html"; //开发者工具暂时只能支持Windows diff --git a/CPF_Cef/MainModel.cs b/CPF_Cef/MainModel.cs index 6b370d9..82da99b 100644 --- a/CPF_Cef/MainModel.cs +++ b/CPF_Cef/MainModel.cs @@ -1691,9 +1691,7 @@ namespace AksWebBrowser return "{\"timestamp\":\"" + Utils.GetTimestamp() + "\",\"keycode\":\"" + "" + "\",\"message\":\"Falied\",\"code\":\"400\",\"status\":false,\"data\":\"" + ex.Message + "\"}"; } } - - - + /// /// 高拍仪 /// diff --git a/CPF_Cef/Parame.cs b/CPF_Cef/Parame.cs index d2b1f84..e5aef54 100644 --- a/CPF_Cef/Parame.cs +++ b/CPF_Cef/Parame.cs @@ -34,7 +34,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; //票据打印机 @@ -50,7 +50,7 @@ namespace AksWebBrowser //是否关闭授权定时请求 public static bool isCloseHttp = false; //双目摄像头 - public static string smWebsocket = "ws://192.168.0.234:22226"; + public static string smWebsocket = "ws://127.0.0.1:22226"; //消息推送 public static string messageData { get; set; } //人脸比对阈值