Browse Source

用户接口增加头像

娄底高职分支
liangkun 2 years ago
committed by ndbs
parent
commit
bdeb4096d9
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Arrangelesson.cs

+ 3
- 0
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Arrangelesson.cs View File

@@ -132,6 +132,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,
@@ -142,6 +143,8 @@ namespace Learun.Application.WebApi.Modules
m.F_RealName,
m.F_Account,
Year = "20" + stuInfoBasicIbll.GetStuInfoBasicEntityByStuNo(m.F_Account)?.Grade,
m.F_IdentityCardNo,
F_HeadIcon= webrootpath + m.F_HeadIcon
});
return Success(result);
}


Loading…
Cancel
Save