|
|
|
@ -2967,7 +2967,7 @@ end
|
|
|
|
|
# end
|
|
|
|
|
extra = member_role == 2 ? 9 : (member_role == 3 ? 7 : 10)
|
|
|
|
|
Tiding.create(:user_id => user.id, :trigger_user_id => course.tea_id, :container_id => course.id, :container_type => 'TeacherJoinCourse',
|
|
|
|
|
:belong_container_id => course.id, :belong_container_type => "Course", :tiding_type => "System", :extra => member_role)
|
|
|
|
|
:belong_container_id => course.id, :belong_container_type => "Course", :tiding_type => "System", :extra => extra)
|
|
|
|
|
member.course_group_id = course_group.try(:id).to_i
|
|
|
|
|
course.course_members << member
|
|
|
|
|
|
|
|
|
|