|
|
|
@ -21,7 +21,7 @@ class StudentGraduationTopic < ApplicationRecord
|
|
|
|
|
|
|
|
|
|
def send_tiding
|
|
|
|
|
self.tidings << Tiding.new(:user_id => self.graduation_topic.tea_id, :trigger_user_id => self.user_id, :parent_container_id => self.graduation_topic_id, :parent_container_type => "GraduationTopic",
|
|
|
|
|
:belong_container_id => self.graduation_topic.course_id, :belong_container_type => "Course", :viewed => 0, :status => 0, :tiding_type => "GraduationTopic")
|
|
|
|
|
:belong_container_id => self.graduation_topic.course_id, :belong_container_type => "Course", :viewed => 0, :status => 0, :tiding_type => "Apply")
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 学生名称
|
|
|
|
|