|
|
|
@ -166,7 +166,7 @@ class CoursesController < ApplicationController
|
|
|
|
|
CourseMember.create!(course_id: @course.id, user_id: s_member.user_id, role: 2)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
CreateSubjectCourseStudentJob.perform_later(@course.id) if course.subject.subject_appointments.count > 0
|
|
|
|
|
CreateSubjectCourseStudentJob.perform_later(@course.id) if @course.subject.subject_appointments.count > 0
|
|
|
|
|
|
|
|
|
|
Inform.create(container: @course, description: @subject.learning_notes, name: "学习须知")
|
|
|
|
|
|
|
|
|
|