接口调整

newyslclassrooms
cxt 5 years ago
parent a46ba9e7cc
commit 1c882d17e4

@ -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?

Loading…
Cancel
Save