|
|
@@ -57,6 +57,9 @@ namespace Learun.Application.WebApi |
|
|
|
|
|
|
|
#region 内部账户验证 |
|
|
|
UserEntity userEntity = userIBLL.CheckLogin(loginModel.username, loginModel.password); |
|
|
|
userEntity.F_Password = null; |
|
|
|
userEntity.F_IdentityCardNo = null; |
|
|
|
userEntity.F_Secretkey = null; |
|
|
|
|
|
|
|
#region 写入日志 |
|
|
|
LogEntity logEntity = new LogEntity(); |
|
|
@@ -114,7 +117,7 @@ namespace Learun.Application.WebApi |
|
|
|
baseinfo = res.userInfo, |
|
|
|
post = postIBLL.GetListByPostIds(res.userInfo.postIds), |
|
|
|
role = roleIBLL.GetListByRoleIds(res.userInfo.roleIds), |
|
|
|
pwd= pwd |
|
|
|
pwd = pwd |
|
|
|
}; |
|
|
|
return Success(jsonData); |
|
|
|
} |
|
|
@@ -156,7 +159,7 @@ namespace Learun.Application.WebApi |
|
|
|
{ |
|
|
|
//新增新生判断 |
|
|
|
var stuinfobasic = stuInfoBasicIBLL.GetStuInfoBasicEntityByStuNo(userEntity.F_EnCode); |
|
|
|
if (stuinfobasic!=null&&stuinfobasic.Grade!="21") |
|
|
|
if (stuinfobasic != null && stuinfobasic.Grade != "21") |
|
|
|
{ |
|
|
|
userEntity.LoginMsg = "只有新生支持身份证方式登录"; |
|
|
|
return Fail(userEntity.LoginMsg); |
|
|
|