Commit c1809968 authored by 黄奎's avatar 黄奎

页面修改

parent f082ee5b
...@@ -33,7 +33,7 @@ namespace EduSpider.Model.Extend ...@@ -33,7 +33,7 @@ namespace EduSpider.Model.Extend
public string CoverImg { get; set; } public string CoverImg { get; set; }
/// <summary> /// <summary>
/// 课程状态 /// 课程状态(1-进行中,2-已结课)
/// </summary> /// </summary>
public int CourseStatus { get; set; } public int CourseStatus { get; set; }
......
...@@ -60,11 +60,11 @@ namespace EduSpider.WebApi.Controllers ...@@ -60,11 +60,11 @@ namespace EduSpider.WebApi.Controllers
item.TeacherName, item.TeacherName,
}; };
AllCourseList.Add(obj); AllCourseList.Add(obj);
if (item.CourseStatus == 3) if (item.CourseStatus == 2)
{ {
FinishList.Add(obj); FinishList.Add(obj);
} }
if (item.CourseStatus == 1 && item.CompleteNum != item.TotalClassNum) if (item.CourseStatus == 1)
{ {
NotFinishList.Add(obj); NotFinishList.Add(obj);
} }
......
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