|
|
|
@ -8,7 +8,7 @@ class ApplyTeacherRoleJoinCourseNotifyJob < ApplicationJob
|
|
|
|
|
return if user.blank? || course.blank?
|
|
|
|
|
|
|
|
|
|
attrs = %i[user_id trigger_user_id container_id container_type belong_container_id
|
|
|
|
|
belong_container_type tiding_type extra created_at updated_at]
|
|
|
|
|
belong_container_type tiding_type status extra created_at updated_at]
|
|
|
|
|
|
|
|
|
|
same_attrs = {
|
|
|
|
|
trigger_user_id: user.id, container_id: course.id, container_type: 'JoinCourse', status: 0,
|
|
|
|
|