Explorar el Código

娄底高职分支
ndbs hace 2 años
padre
commit
fe859e7d38
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. +3
    -2
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Arrangelesson.cs

+ 3
- 2
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Arrangelesson.cs Ver fichero

@@ -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);
}


Cargando…
Cancelar
Guardar