浏览代码

去掉登录时授权到期提醒调用的代码

西昌缴费二期
zhangli 2 年前
父节点
当前提交
0d26dc8a7a
共有 2 个文件被更改,包括 0 次插入10 次删除
  1. +0
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs
  2. +0
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs

+ 0
- 5
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("<script>alert('" + lc.Message + "');location.href='/ShowRegister/Index';</script>");


+ 0
- 5
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("<script>alert('" + lc.Message + "');location.href='/ShowRegister/Index';</script>");


正在加载...
取消
保存