Commit 69478618 authored by 黄奎's avatar 黄奎

页面修改

parent 982ccbfa
...@@ -65,6 +65,14 @@ namespace Edu.Module.Question ...@@ -65,6 +65,14 @@ namespace Edu.Module.Question
case "matching": case "matching":
obj = Common.Plugin.JsonHelper.DeserializeObject<List<List<matchingItem>>>(data); obj = Common.Plugin.JsonHelper.DeserializeObject<List<List<matchingItem>>>(data);
break; break;
//排序题
case "sorting-problem":
obj = Common.Plugin.JsonHelper.DeserializeObject<List<List<matchingItem>>>(data);
break;
//完型填空
case "cloze":
obj = Common.Plugin.JsonHelper.DeserializeObject<List<List<optionItem>>>(data);
break;
} }
return obj; return obj;
} }
......
...@@ -87,6 +87,7 @@ namespace Edu.WebApi.Controllers.Course ...@@ -87,6 +87,7 @@ namespace Edu.WebApi.Controllers.Course
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[HttpPost] [HttpPost]
[HttpGet]
public ApiResult GetDifficultyType() public ApiResult GetDifficultyType()
{ {
var list = Common.Plugin.EnumHelper.EnumToList(typeof(DifficultyTypeEnum)); var list = Common.Plugin.EnumHelper.EnumToList(typeof(DifficultyTypeEnum));
......
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