Browse Source

巴楚sso改为无密码验证

西昌缴费二期
liangkun 2 years ago
parent
commit
8f631947a7
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs

+ 3
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/LoginController.cs View File

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


Loading…
Cancel
Save