Commit 7f5728a2 authored by 黄奎's avatar 黄奎

页面修改

parent 3b0981a5
......@@ -128,6 +128,18 @@ namespace Edu.WebApi.Controllers.Course
return ApiResult.Success(data: list);
}
/// <summary>
/// 获取问题大类
/// </summary>
/// <returns></returns>
[HttpPost]
[HttpGet]
public ApiResult GetQuestionCategory()
{
var list = Common.Plugin.EnumHelper.EnumToList(typeof(QuestionCategoryEnum));
return ApiResult.Success(data: list);
}
/// <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