diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs index 102bcaa21..4466ce061 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs @@ -431,11 +431,6 @@ namespace Learun.Application.Web.Controllers { //授权验证 var lc = LicenseChecker.CheckLicense(); - //授权到期前发送邮件提醒 - if (!string.IsNullOrEmpty(lc.ExpirationDate)&&!lc.ExpirationDate.Contains("永久有效")) - { - emailSendIBLL.Send(lc.ExpirationDate); - } if (!lc.Result) { return Content(""); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs index 43c4551ac..93466266d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs @@ -184,11 +184,6 @@ namespace Learun.Application.Web.Controllers { //授权验证 var lc = LicenseChecker.CheckLicense(); - //授权到期前发送邮件提醒 - if (!string.IsNullOrEmpty(lc.ExpirationDate) && !lc.ExpirationDate.Contains("永久有效")) - { - emailSendIBLL.Send(lc.ExpirationDate); - } if (!lc.Result) { return Content("");