|
|
@@ -1,6 +1,7 @@ |
|
|
|
using Learun.Application.Base.SystemModule; |
|
|
|
using Learun.Application.Organization; |
|
|
|
using Learun.Application.TwoDevelopment.EducationalAdministration; |
|
|
|
using Learun.Application.TwoDevelopment.ReceiveSendFeeManagement; |
|
|
|
using Learun.Cache.Base; |
|
|
|
using Learun.Cache.Factory; |
|
|
|
using Learun.Util; |
|
|
@@ -53,6 +54,7 @@ namespace Learun.Application.WebApi |
|
|
|
CdMajorIBLL majorIbll = new CdMajorBLL(); |
|
|
|
private readonly ISms aliyunSms = new AliyunSms(); |
|
|
|
private ICache redisCache = CacheFactory.CaChe(); |
|
|
|
private FinaChargeStudentIBLL finaChargeStudentIBLL = new FinaChargeStudentBLL(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -200,6 +202,9 @@ namespace Learun.Application.WebApi |
|
|
|
OperatorResult res = OperatorHelper.Instance.IsOnLine(token, this.loginMark); |
|
|
|
res.userInfo.password = null; |
|
|
|
res.userInfo.secretkey = null; |
|
|
|
|
|
|
|
//是否存在欠费 |
|
|
|
bool isOwe = false; |
|
|
|
var studententity = stuInfoBasicIBLL.GetStuInfoBasicEntityByStuNo(userEntity.F_Account); |
|
|
|
if (studententity != null) |
|
|
|
{ |
|
|
@@ -209,6 +214,11 @@ namespace Learun.Application.WebApi |
|
|
|
{ |
|
|
|
res.userInfo.majorno = majorinfo.ID ?? ""; |
|
|
|
} |
|
|
|
var finachargestudententity = finaChargeStudentIBLL.GetFinaChargeStudentEntityByNo(studententity.StuNo); |
|
|
|
if (finachargestudententity != null && finachargestudententity.NeedToPay > 0) |
|
|
|
{ |
|
|
|
isOwe = true; |
|
|
|
} |
|
|
|
} |
|
|
|
//是否强密码验证 |
|
|
|
bool pwd = false; |
|
|
@@ -221,7 +231,8 @@ namespace Learun.Application.WebApi |
|
|
|
baseinfo = res.userInfo, |
|
|
|
post = postIBLL.GetListByPostIds(res.userInfo.postIds), |
|
|
|
role = roleIBLL.GetListByRoleIds(res.userInfo.roleIds), |
|
|
|
pwd = pwd |
|
|
|
pwd = pwd, |
|
|
|
isOwe = isOwe |
|
|
|
}; |
|
|
|
return Success(jsonData); |
|
|
|
} |
|
|
|