瀏覽代碼

123服务器跳过授权验证

西昌缴费二期
zhangli 2 年之前
父節點
當前提交
5242023e3c
共有 2 個檔案被更改,包括 2 行新增4 行删除
  1. +1
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs
  2. +1
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs

+ 1
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/HomeController.cs 查看文件

@@ -425,8 +425,7 @@ namespace Learun.Application.Web.Controllers
public ActionResult Index()
{
//判断当前ip是否是123服务器,如果是123服务器,跳过授权验证
//获取当前ip
if (GetIP() != "183.185.97.88")
if (Net.Ip != "183.185.97.88" && Net.Ip != "123.57.209.16")
{
//授权验证
var lc = LicenseChecker.CheckLicense();


+ 1
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs 查看文件

@@ -178,8 +178,7 @@ namespace Learun.Application.Web.Controllers
public ActionResult Index()
{
//判断当前ip是否是123服务器,如果是123服务器,跳过授权验证
//if (Net.Ip != "123.57.209.16")
if (Net.Ip != "183.185.97.88")
if (Net.Ip != "183.185.97.88" && Net.Ip != "123.57.209.16")
{
//授权验证
var lc = LicenseChecker.CheckLicense();


Loading…
取消
儲存