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