From 52f38f065b20c763d1855fea9aff8a2567c9ceec Mon Sep 17 00:00:00 2001 From: liangkun Date: Wed, 28 Sep 2022 16:44:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E6=8E=A5=E5=8F=A3=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E5=A4=B4=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.WebApi/Modules/Arrangelesson.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); }