Commit 05f6c2ee authored by 黄奎's avatar 黄奎

页面修改

parent 7665afd3
......@@ -529,7 +529,7 @@ namespace Edu.Common
{
Random rd = new Random();
int result = rd.Next(1, 100);
return result % 3;
return result % 4;
}
}
}
\ No newline at end of file
......@@ -26,7 +26,7 @@ namespace Edu.Module.Exam
/// <param name="ChapterId"></param>
/// <param name="NextChapterId"></param>
/// <returns></returns>
public object CreateCourseExam(int CourseId,int ChapterId,int NextChapterId)
public object CreateCourseExam(int CourseId, int ChapterId, int NextChapterId)
{
object result = new object();
var list = course_WordsRepository.GetCourseWordsListRepository(new RB_Course_Words_Extend()
......@@ -51,15 +51,21 @@ namespace Edu.Module.Exam
int randNum = Common.ConvertHelper.CreateRandomNum();
switch (randNum)
{
//根据单词选择中文意思
case 0:
break;
//根据中文意思选择单词
case 1:
break;
//根据日语书写选择中文意思
case 2:
break;
//根据中文意思选日语书写
case 3:
break;
}
......@@ -85,7 +91,7 @@ namespace Edu.Module.Exam
QuestionTypeId = 3,
QuestionTypeKey = "fill-in",
QuestionContent = fillInItems,
Title= title
Title = title
});
}
}
......
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