Merge branch 'szzh' into develop
This commit is contained in:
commit
e4f988785f
|
@ -759,7 +759,7 @@ class CoursesService
|
|||
|
||||
# 获取某次作业的所有作业列表
|
||||
def student_work_list params,current_user
|
||||
is_teacher = User.current.allowed_to?(:as_teacher,Course.find(params[:course_id]))
|
||||
is_teacher = current_user.allowed_to?(:as_teacher,Course.find(params[:course_id]))
|
||||
homework = HomeworkCommon.find(params[:homework_id])
|
||||
student_works = []
|
||||
#老师 || 非匿评作业 || 匿评结束 显示所有的作品
|
||||
|
|
Loading…
Reference in New Issue