From f35f1397c980efdc2542dff7aaa23b1a7dbb65e7 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 16 十二月 2020 10:53:34 +0800 Subject: [PATCH] 2020-12-16-1 --- HDL_ON/Common/HDLCommon.cs | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs index 9d9b2c8..1a52ef4 100644 --- a/HDL_ON/Common/HDLCommon.cs +++ b/HDL_ON/Common/HDLCommon.cs @@ -282,6 +282,10 @@ //鏈櫥褰曚笉鐢ㄥ鐞� if (!UserInfo.Current.IsLogin) return; +#if DEBUG + return; +#endif + Logout(); } @@ -302,10 +306,9 @@ //2.娉ㄩ攢鎺ㄩ�� new HttpServerRequest().SignOutPush(); //3.璺宠浆鐧诲綍椤甸潰 - //UserInfo.Current.LastTime = DateTime.MinValue; - //UserInfo.Current.headImagePagePath = "LoginIcon/2.png";//閲嶇疆鐢ㄦ埛澶村儚 - UserInfo.Current.ClearUserInfo(); - DB_ResidenceData.residenceData.EixtAccount(); + UserInfo.Current.LastTime = DateTime.MinValue; + UserInfo.Current.SaveUserInfo(); + DB_ResidenceData.Instance.EixtAccount(); } catch (Exception ex) { -- Gitblit v1.8.0