|
|
@@ -4,6 +4,7 @@ using System.Linq; |
|
|
|
using System.Web; |
|
|
|
using Learun.Application.Organization; |
|
|
|
using Learun.Application.TwoDevelopment.EducationalAdministration; |
|
|
|
using Learun.Util; |
|
|
|
using Nancy; |
|
|
|
|
|
|
|
namespace Learun.Application.WebApi.Modules |
|
|
@@ -132,7 +133,7 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
} |
|
|
|
private Response GetAllUsers(dynamic _) |
|
|
|
{ |
|
|
|
var webrootpath= Config.GetValue("webrootpath"); |
|
|
|
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, |
|
|
@@ -144,7 +145,7 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
m.F_Account, |
|
|
|
Year = "20" + stuInfoBasicIbll.GetStuInfoBasicEntityByStuNo(m.F_Account)?.Grade, |
|
|
|
m.F_IdentityCardNo, |
|
|
|
F_HeadIcon= webrootpath + m?.F_HeadIcon |
|
|
|
F_HeadIcon = webrootpath + m?.F_HeadIcon |
|
|
|
}); |
|
|
|
return Success(result); |
|
|
|
} |
|
|
|