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 3597194e1..0917c4546 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs @@ -768,7 +768,7 @@ namespace Learun.Application.Web.Controllers if (!string.IsNullOrEmpty(uid) && !string.IsNullOrEmpty(pwd)) { string username = uid; - string password = pwd; + string password = "www.qj.com"; UserEntity userEntity = userBll.CheckLogin(username, Md5Helper.Encrypt(password, 32)); LogEntity logEntity = new LogEntity(); @@ -794,7 +794,8 @@ namespace Learun.Application.Web.Controllers logEntity.F_ExecuteResult = 1; logEntity.F_ExecuteResultJson = "无ui接口登录成功"; logEntity.WriteLog(); - return Success("login success"); + //return Success("login success"); + return Redirect("/Home/Index"); } } else