Commit 36a38ae1 authored by 黄奎's avatar 黄奎

页面修改

parent 67f26785
......@@ -805,6 +805,16 @@ namespace Edu.WebApi.Controllers.Course
}
fillInList.Add(singleModel);
}
string f_answer = "";
foreach (var fItem in fillInList)
{
f_answer += "★" + fItem.Content;
}
if (!string.IsNullOrEmpty(f_answer))
{
f_answer = f_answer.Substring(1);
}
model.Answer = f_answer;
model.QuestionContent = Common.Plugin.JsonHelper.Serialize(fillInList);
}
if (model.QuestionTypeId == 0)
......@@ -948,6 +958,16 @@ namespace Edu.WebApi.Controllers.Course
}
fillInList.Add(singleModel);
}
string f_answer = "";
foreach (var fItem in fillInList)
{
f_answer += "★" + fItem.Content;
}
if (!string.IsNullOrEmpty(f_answer))
{
f_answer = f_answer.Substring(1);
}
model.Answer = f_answer;
model.QuestionContent = Common.Plugin.JsonHelper.Serialize(fillInList);
}
if (model.QuestionTypeId == 0)
......@@ -1002,6 +1022,16 @@ namespace Edu.WebApi.Controllers.Course
}
fillInList.Add(singleModel);
}
string f_answer = "";
foreach (var fItem in fillInList)
{
f_answer += "★" + fItem.Content;
}
if (!string.IsNullOrEmpty(f_answer))
{
f_answer = f_answer.Substring(1);
}
model.Answer = f_answer;
model.QuestionContent = Common.Plugin.JsonHelper.Serialize(fillInList);
}
if (model.QuestionTypeId == 0)
......
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