From acc8caee31c4be90bd38d1af18136b0e84f6fe94 Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期五, 27 九月 2024 14:01:19 +0800 Subject: [PATCH] Merge branch 'feature/v2.7_迭代' into feature/V2.7_Google --- HDL_ON/Common/UserInfo.cs | 24 ++++++++++++++++-------- 1 files changed, 16 insertions(+), 8 deletions(-) diff --git a/HDL_ON/Common/UserInfo.cs b/HDL_ON/Common/UserInfo.cs index df2d66b..4f59c01 100644 --- a/HDL_ON/Common/UserInfo.cs +++ b/HDL_ON/Common/UserInfo.cs @@ -164,19 +164,27 @@ /// </summary> public List<RegionInfoRes> regionList = new List<RegionInfoRes>(); /// <summary> + /// token鏄惁鏈夋晥 + /// </summary> + public bool ValidToken = false; + /// <summary> + /// 鏄惁鎻愮ず杩嘥oken杩囨湡 + /// </summary> + public bool IsTipedInvalidToken = false; + /// <summary> /// 涓婁竴娆$櫥褰曟椂闂� /// </summary> - public DateTime LastTime = DateTime.MinValue; + //public DateTime LastTime = DateTime.MinValue; /// <summary> /// 鏄惁鏄櫥褰曠姸鎬� /// </summary> - public bool IsLogin - { - get - { - return (DateTime.Now - LastTime).TotalDays < 90; - } - } + //public bool IsLogin = false; + //{ + // get + // { + // return (DateTime.Now - LastTime).TotalDays < 7; + // } + //} [Newtonsoft.Json.JsonIgnore] public DateTime LastTimeOpenDoor = DateTime.MinValue; -- Gitblit v1.8.0