From a879e5dac4fc7cee747e25a63002c40462cdaef7 Mon Sep 17 00:00:00 2001
From: lss <lsc@hdlchina.com.cn>
Date: 星期四, 26 五月 2022 11:39:43 +0800
Subject: [PATCH] 兼容全视通可视对讲

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

diff --git a/HDL_ON/DAL/Server/HttpUtil.cs b/HDL_ON/DAL/Server/HttpUtil.cs
index 315e9a2..72fa068 100644
--- a/HDL_ON/DAL/Server/HttpUtil.cs
+++ b/HDL_ON/DAL/Server/HttpUtil.cs
@@ -17,8 +17,8 @@
         /// 鍥哄畾鍩熷悕,姝e紡鐜
         /// 鍏叡鍩熷悕灏辫繎瑙f瀽
         /// </summary>
-        public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com";
-        //public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";//mmmm
+        //public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com";
+        public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";//mmmm
         /// <summary>
         /// RegionMark
         /// </summary>
@@ -305,6 +305,10 @@
                     sdm.RefreshToken = UserInfo.Current.RefreshToken;
 #endif
                 }
+                else if (revertObj.Code == StateCode.PasswrodError)
+                {
+                    UserInfo.Current.LastTime = DateTime.MinValue;
+                }
                 return false;
             }
             catch

--
Gitblit v1.8.0