From 0d26dc8a7a4a02dd5c5e5b0fa5b3f18fa614cd95 Mon Sep 17 00:00:00 2001
From: zhangli <1109134334@qq.com>
Date: Tue, 12 Apr 2022 15:10:09 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E7=99=BB=E5=BD=95=E6=97=B6?=
=?UTF-8?q?=E6=8E=88=E6=9D=83=E5=88=B0=E6=9C=9F=E6=8F=90=E9=86=92=E8=B0=83?=
=?UTF-8?q?=E7=94=A8=E7=9A=84=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Learun.Application.Web/Controllers/HomeController.cs | 5 -----
.../Learun.Application.Web/Controllers/LoginController.cs | 5 -----
2 files changed, 10 deletions(-)
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("");