Commit 69478618 authored by 黄奎's avatar 黄奎

页面修改

parent 982ccbfa
......@@ -65,6 +65,14 @@ namespace Edu.Module.Question
case "matching":
obj = Common.Plugin.JsonHelper.DeserializeObject<List<List<matchingItem>>>(data);
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;
}
......
......@@ -87,6 +87,7 @@ namespace Edu.WebApi.Controllers.Course
/// </summary>
/// <returns></returns>
[HttpPost]
[HttpGet]
public ApiResult GetDifficultyType()
{
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