From ed31c23644c5271b0d62c7fde21a699b8f5f2a97 Mon Sep 17 00:00:00 2001 From: Janie <109517022+Janie06@users.noreply.github.com> Date: Fri, 10 Mar 2023 16:25:28 +0800 Subject: [PATCH] =?UTF-8?q?Login=20API=20=E6=99=82=E6=95=88=E5=8A=A0?= =?UTF-8?q?=E9=95=B7=E8=87=B330=E5=A4=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EuroTran/EasyBL.WEBAPP/ShowEasy/SystemService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/EuroTran/EasyBL.WEBAPP/ShowEasy/SystemService.cs b/EuroTran/EasyBL.WEBAPP/ShowEasy/SystemService.cs index 96d25a4..68770dc 100644 --- a/EuroTran/EasyBL.WEBAPP/ShowEasy/SystemService.cs +++ b/EuroTran/EasyBL.WEBAPP/ShowEasy/SystemService.cs @@ -163,15 +163,15 @@ namespace EasyBL.WEBAPP.SYS // LoginIp = i_crm.ClientIP, LoginTime = DateTime.Now }; - var iExpireTime = 43200; - var sExpireTime = Common.GetSystemSetting(db, oUser.OrgID, @"ExpireTime"); + var iExpireTime = 240; + var sExpireTime = Common.GetSystemSetting(db, oUser.OrgID, @"SEexpireTime"); if (!string.IsNullOrEmpty(sExpireTime)) { iExpireTime = int.Parse(sExpireTime); } else { - iExpireTime = int.Parse(Common.GetAppSettings(@"ExpireTime")); + iExpireTime = int.Parse(Common.GetAppSettings(@"SEexpireTime")); } ticket.ExpireTime = DateTime.Now.AddMinutes(iExpireTime); //30天過期 ticket.IsVerify = @"Y";