From f461949beb54ae5d3e0353fa49d94800d0af6fbb Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 15 三月 2022 11:23:14 +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