dev_forum
cxt 6 years ago
parent 0d5699482f
commit b9347aa0ac

@ -924,10 +924,10 @@ class CoursesController < ApplicationController
course_message.save!
role = course_message.content == 2 ? '7' : '9' # 7:老师 9:助教
role = course_message.content == 2 ? '7' : '9' # 7:助教 9:教师
ApplyTeacherRoleJoinCourseNotifyJob.perform_later(current_user.id, course.id, role)
teacher_role = 1
message = "#{course_message.content == 2 ? '' : '教'}申请已提交,请等待审核"
message = "#{course_message.content == 2 ? '教' : ''}申请已提交,请等待审核"
end
end
end

Loading…
Cancel
Save