Commit 103f1d4c authored by 黄奎's avatar 黄奎

页面修改

parent c37ac1b9
......@@ -959,11 +959,7 @@ namespace Edu.WebApi.Controllers.Course
public ApiResult GetGuestEducationEnumList()
{
var list = EnumHelper.EnumToList(typeof(GuestEducationEnum));
return ApiResult.Success("", list.Select(x => new
{
x.Name,
x.Id
}));
return ApiResult.Success(data:list);
}
/// <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