Commit ac5e2d2d authored by liudong1993's avatar liudong1993

1

parent d65053bd
...@@ -64,7 +64,7 @@ namespace EduSpider.WebApi.Controllers ...@@ -64,7 +64,7 @@ namespace EduSpider.WebApi.Controllers
{ {
var query = new Model.Query.CourseQuery() var query = new Model.Query.CourseQuery()
{ {
StuIds = base.UserInfo.AccountId.ToString(), StuIds = base.ReqParameters.GetInt("stuId")!=0? base.ReqParameters.GetInt("stuId").ToString() :base.UserInfo.AccountId.ToString(),
CourseId = base.ReqParameters.GetInt("courseId") CourseId = base.ReqParameters.GetInt("courseId")
}; };
var homeworkExamList = CourseService.GetStuWorkAndExamList(query); var homeworkExamList = CourseService.GetStuWorkAndExamList(query);
......
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