diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Arrangelesson.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Arrangelesson.cs index df05c986a..ce179e5ef 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Arrangelesson.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Arrangelesson.cs @@ -150,6 +150,7 @@ namespace Learun.Application.WebApi.Modules } private Response GetAllUsers(dynamic _) { + var webrootpath= Config.GetValue("webrootpath"); var result = userIbll.GetAllList().Where(m => !m.F_Account.Contains("System") && m.F_DeleteMark == 0 && m.F_EnabledMark == 1).Select(m => new { m.F_UserId, @@ -160,7 +161,8 @@ namespace Learun.Application.WebApi.Modules m.F_RealName, m.F_Account, Year = "20" + stuInfoBasicIbll.GetStuInfoBasicEntityByStuNo(m.F_Account)?.Grade, - m.F_IdentityCardNo + m.F_IdentityCardNo, + F_HeadIcon= webrootpath + m.F_HeadIcon }); return Success(result); }