文档
测试

班级学员列表

GET
http://www.jygl.cn/index.php/index/Teacher/classStudentList

请求参数

参数名
类型
描述
必填
class_id
int
班级id
必填

响应参数

参数名
类型
描述
必填
code
int
响应码
必填
studentList
array
学员列表
必填
id
int
学员id
必填
name
string
学员姓名
必填
header
string
头像
必填
sign_in
int
到课
必填
leave
int
请假
必填
absence
int
缺席
必填
destroy_hour
int
消耗课时
必填
destroy_day
int
消耗天数
必填
surplus_hour
int
剩余课时
必填
surplus_day
int
剩余天数
必填

说明 / 示例

{ "code": 200, "studentList": [ { "id": 13, "name": "小灰灰", "header": "http://www.jygl.cn/storage/uploads/20200331/93fb17c3c9f8969e12e9c0863c2c012c.png", "sign_in": 1, "leave": 0, "absence": 0, "destroy_hour": 2, "destroy_day": 0, "surplus_hour": 2, "surplus_day": 0 }, { "id": 32, "name": "蓝雨", "header": "http://www.jygl.cn/storage/uploads/20200605/677527da79e5cdd37a2df88c80c61234.jpg", "sign_in": 2, "leave": 0, "absence": 0, "destroy_hour": 3, "destroy_day": 0, "surplus_hour": 6, "surplus_day": 0 } ] }