Commit cdb7537c authored by liudong1993's avatar liudong1993

Merge branch 'master' of http://gitlab.oytour.com/Kui2/education

parents a35f15eb 103f1d4c
...@@ -959,11 +959,7 @@ namespace Edu.WebApi.Controllers.Course ...@@ -959,11 +959,7 @@ namespace Edu.WebApi.Controllers.Course
public ApiResult GetGuestEducationEnumList() public ApiResult GetGuestEducationEnumList()
{ {
var list = EnumHelper.EnumToList(typeof(GuestEducationEnum)); var list = EnumHelper.EnumToList(typeof(GuestEducationEnum));
return ApiResult.Success("", list.Select(x => new return ApiResult.Success(data:list);
{
x.Name,
x.Id
}));
} }
/// <summary> /// <summary>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment