Commit cd3db2a9 authored by 黄奎's avatar 黄奎

页面修改

parent 6f3d5c55
......@@ -200,12 +200,13 @@ namespace EduSpider.Utility.Data
{
if (dt.Columns.Contains(i.ToString()))
{
decimal.TryParse(dt.Rows[2][i.ToString()].ToString(), out decimal NewScore);
EQList.Add(new ExamQuestionModel()
{
Id = i,
Difficulty = dt.Rows[0][i.ToString()].ToString(),
KnowledgePoint = dt.Rows[1][i.ToString()].ToString(),
Score = Convert.ToDecimal(dt.Rows[2][i.ToString()].ToString())
Score = NewScore
});
}
else
......
......@@ -173,10 +173,6 @@ namespace EduSpider.Spiders.ClassInRule
{
var request = Utility.HttpHelper.GenerateHttp(cookie);
string queryStr = "courseId={0}";
if (courseId == 211441479)
{
string str = "";
}
string paramStr = string.Format(queryStr, courseId);
var content = new StringContent(paramStr, System.Text.Encoding.UTF8, "application/x-www-form-urlencoded");
ICourseStudentRepository courseStudentRepository = new CourseStudentRepository();
......
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