diff --git a/app/controllers/weapps/attendances_controller.rb b/app/controllers/weapps/attendances_controller.rb index 19823d42b..7da852393 100644 --- a/app/controllers/weapps/attendances_controller.rb +++ b/app/controllers/weapps/attendances_controller.rb @@ -42,6 +42,7 @@ class Weapps::AttendancesController < ApplicationController end def student_attendances + tip_exception(403) if @user_course_identity > Course::STUDENT # tip_exception("学生身份的签到列表") if @user_course_identity != Course::STUDENT member = @course.students.find_by(user_id: current_user.id) if member.present?