From 9c8baf7e7e1169ebdf7d5f7ed33ab29dd5fcbf18 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期一, 14 十二月 2020 17:45:17 +0800
Subject: [PATCH] 2020-12-14 1.解锁设置问题修复,增加面容ID验证。2.错误码对接增加。

---
 HDL_ON/DAL/Server/HttpUtil.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/HDL_ON/DAL/Server/HttpUtil.cs b/HDL_ON/DAL/Server/HttpUtil.cs
index 8335bf9..512e33b 100644
--- a/HDL_ON/DAL/Server/HttpUtil.cs
+++ b/HDL_ON/DAL/Server/HttpUtil.cs
@@ -95,7 +95,7 @@
         /// <returns></returns>
         public static ResponsePackNew RequestHttpsPostFroHome(string apiPath, string bodyParameterJson, int mTimeout = 10)
         {
-            string urlHead = DB_ResidenceData.residenceData.residecenInfo.regionUrl;
+            string urlHead = DB_ResidenceData.Instance.CurrentRegion.regionUrl;
             //var replaceToken = "";
             //if (DB_ResidenceData.residenceData.residecenInfo.IsOthreShare)
             //{
@@ -154,7 +154,7 @@
 
                 if (string.IsNullOrEmpty(urlHead))
                 {
-                    urlHead = UserInfo.Current.RequestHttpsHost;
+                    urlHead = OnAppConfig.Instance.RequestHttpsHost;
                 }
                 string requestFullUrl = urlHead + apiPath;
 
@@ -326,7 +326,7 @@
             {
                 if (string.IsNullOrEmpty(urlHead))
                 {
-                    urlHead = UserInfo.Current.RequestHttpsHost;
+                    urlHead = OnAppConfig.Instance.RequestHttpsHost;
                 }
                 string requestFullUrl = urlHead + apiPath;
 
@@ -396,7 +396,7 @@
 
                 if (string.IsNullOrEmpty(urlHead))
                 {
-                    urlHead = UserInfo.Current.RequestHttpsHost;
+                    urlHead = OnAppConfig.Instance.RequestHttpsHost;
                 }
                 string requestFullUrl = urlHead + apiPath;
 

--
Gitblit v1.8.0