dev_cs
cxt 5 years ago
parent 598fd905e5
commit 2050c040c6

@ -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: "学习须知")

Loading…
Cancel
Save