Explorar el Código

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

西昌缴费二期
zhangli hace 2 años
padre
commit
0d26dc8a7a
Se han modificado 2 ficheros con 0 adiciones y 10 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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>");


Cargando…
Cancelar
Guardar