|
|
@ -41,7 +41,7 @@ class Weapps::AttendancesController < ApplicationController
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def student_attendances
|
|
|
|
def student_attendances
|
|
|
|
tip_exception("学生身份的签到列表") if @user_course_identity != Course::STUDENT
|
|
|
|
# tip_exception("学生身份的签到列表") if @user_course_identity != Course::STUDENT
|
|
|
|
member = @course.students.find_by(user_id: current_user.id)
|
|
|
|
member = @course.students.find_by(user_id: current_user.id)
|
|
|
|
current_date = Date.current
|
|
|
|
current_date = Date.current
|
|
|
|
current_end_time = Time.current.strftime("%H:%M:%S")
|
|
|
|
current_end_time = Time.current.strftime("%H:%M:%S")
|
|
|
|