From 39e83c7df7608b29a3f359bcc6d9ca9b7ff095f5 Mon Sep 17 00:00:00 2001 From: chenqiyang <1406175257@qq.com> Date: 星期二, 17 五月 2022 13:54:39 +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