From bd375364d4f5b91b6abc426bd6f29144c2d2d45c Mon Sep 17 00:00:00 2001
From: 10191 <506754232@qq.com>
Date: Mon, 28 Jul 2025 10:33:59 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E7=89=87=E5=9C=B0=E5=9D=80=E4=BF=AE?=
=?UTF-8?q?=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
HJGL_DS/FineUIPro.Web/Web.config | 6 +++---
.../FineUIPro.Web/common/WelderManage/WelderSave.aspx.cs | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/HJGL_DS/FineUIPro.Web/Web.config b/HJGL_DS/FineUIPro.Web/Web.config
index edba5ea..a8f4002 100644
--- a/HJGL_DS/FineUIPro.Web/Web.config
+++ b/HJGL_DS/FineUIPro.Web/Web.config
@@ -24,9 +24,9 @@
-
-
-
+
+
+
diff --git a/HJGL_DS/FineUIPro.Web/common/WelderManage/WelderSave.aspx.cs b/HJGL_DS/FineUIPro.Web/common/WelderManage/WelderSave.aspx.cs
index 162cfa2..3bcb2db 100644
--- a/HJGL_DS/FineUIPro.Web/common/WelderManage/WelderSave.aspx.cs
+++ b/HJGL_DS/FineUIPro.Web/common/WelderManage/WelderSave.aspx.cs
@@ -252,10 +252,10 @@
}
#endregion
- public static string PersonFace(Model.HJGL_BS_Welder person)
+ public string PersonFace(Model.HJGL_BS_Welder person)
{
string message = string.Empty;
- string filePath = ConfigurationManager.AppSettings["localRoot"] + person.PhotoUrl;
+ string filePath = Server.MapPath("~/") + person.PhotoUrl;
List kqFace = null;
try
{
@@ -330,7 +330,7 @@
else message = "识别不到人脸";
if (isOK)
{
- var faceResult = FaceClass.add(person.WED_ID, person.IdentityCard, System.Configuration.ConfigurationManager.AppSettings["CEMS_IMG_URL"].ToString() + person.PhotoUrl, AccessToken.getAccessToken());
+ var faceResult = FaceClass.add(person.WED_ID, person.IdentityCard, System.Configuration.ConfigurationManager.AppSettings["HJGLUrl"].ToString() + person.PhotoUrl, AccessToken.getAccessToken());
var face = JsonConvert.DeserializeObject(faceResult);
// JsonConvert.DeserializeObject(myPunishItem);
if (face.error_code == 0 || face.error_code == 223105)