Commit b4e62ac0 authored by 吴春's avatar 吴春

页面修改

parent c54ce83f
...@@ -53,11 +53,17 @@ namespace Edu.Common.Enum.Course ...@@ -53,11 +53,17 @@ namespace Edu.Common.Enum.Course
[EnumField("专业课程")] [EnumField("专业课程")]
MAJOR = 7, MAJOR = 7,
/// <summary>
/// 进阶课程
/// </summary>
[EnumField("进阶课程")]
Advanced = 8,
/// <summary> /// <summary>
/// 其它 /// 其它
/// </summary> /// </summary>
[EnumField("其他")] [EnumField("其他")]
OTHER = 8, OTHER = 9,
} }
/// <summary> /// <summary>
......
...@@ -572,7 +572,7 @@ namespace Edu.WebApi.Controllers.Course ...@@ -572,7 +572,7 @@ namespace Edu.WebApi.Controllers.Course
[HttpPost] [HttpPost]
public ApiResult GetCourseRateEnumList() public ApiResult GetCourseRateEnumList()
{ {
var list = Common.Plugin.EnumHelper.EnumToList(typeof(CourseRateEnum)); var list = Common.Plugin.EnumHelper.EnumToList(typeof(CourseRateEnum)).OrderBy(qitem=>qitem.Id);
return ApiResult.Success(data: list); return ApiResult.Success(data: list);
} }
......
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