Commit c1809968 authored by 黄奎's avatar 黄奎

页面修改

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