微信小程序的课堂api

dev_home
cxt 5 years ago
parent 85727e261d
commit 708dd60078

@ -1,4 +1,4 @@
json.(@course, :id, :name, :course_members_count, :credit)
json.(@course, :id, :name, :course_members_count, :credit, :invite_code_halt)
json.teachers_count @course.teachers.count
json.students_count @course.students.count
json.course_identity @current_user.course_identity(@course)
Loading…
Cancel
Save