|
|
|
@ -1157,8 +1157,8 @@ class CoursesController < ApplicationController
|
|
|
|
|
|
|
|
|
|
CourseAddStudentCreateWorksJob.perform_later(course.id, [current_user.id])
|
|
|
|
|
StudentJoinCourseNotifyJob.perform_later(current_user.id, course.id)
|
|
|
|
|
student_role = 1
|
|
|
|
|
end
|
|
|
|
|
student_role = 1
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 创建教师身份
|
|
|
|
|