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)