Merge branch 'dev_aliyun' into dev_chen

PCqiandao
cxt 5 years ago
commit f8473524f5

@ -561,7 +561,7 @@ class CoursesController < ApplicationController
member.teacher_course_groups << TeacherCourseGroup.new(course_group_id: @course_group_id, user_id: user_id, course_id: @course.id) if @course_group_id != 0
@course.course_messages.join_course_requests.unhandled.where(course_message_id: user_id).update!(status: :PASSED)
@course.course_messages.join_course_requests.unhandled.where(course_message_id: user_id).update_all(status: :PASSED)
end
end
TeacherInviteJoinCourseNotifyJob.perform_later(current_user.id, @course.id, role, teacher_ids) if teacher_ids.present?

Loading…
Cancel
Save