dev_forum
cxt 6 years ago
parent 7b0d36f76f
commit 10a72d7ae9

@ -928,6 +928,8 @@ class CoursesController < ApplicationController
ApplyTeacherRoleJoinCourseNotifyJob.perform_later(current_user.id, course.id, role)
teacher_role = 1
message = "#{course_message.content == 2 ? '助教' : '教师'}申请已提交,请等待审核"
else
message = "#{existing_course_message.extra.to_i == 7 ? '助教' : '教师'}申请已提交,请等待审核"
end
end
end

Loading…
Cancel
Save