文档
测试

查看学生作业列表

GET
http://jygl.znsite.cn/index.php/index/Teacher/lookStudentHomework

请求参数

参数名
类型
描述
必填
ct_id
int
课表id
必填

响应参数

参数名
类型
描述
必填
code
int
响应码
必填
courseTableInfo
array
上课信息
必填
id
int
上课表id
必填
date
string
上课日期
必填
week
string
星期
必填
start_time
string
上课时间
必填
end_time
string
下课时间
必填
teacher_name
string
上课教师
必填
studentList
array
学生列表
必填
student_id
int
学员id
必填
name
string
学生姓名
必填
header
string
头像
必填
sh_id
int
学生作业id
必填
state
int
状态(1.未交 2.带评 3.已评)
必填
plan_count
int
应交人数
必填
actual_count
int
已交人数
必填
comment_count
int
已评人数
必填

说明 / 示例

{ "code": 200, "courseTableInfo": { "id": 4, "date": "2020-04-07", "week": "2", "start_time": "16:00:00", "end_time": "17:30:00", "teacher_name": "王静" }, "studentList": [ { "student_id": 14, "name": 小灰灰, "header": http://www.jygl.cn/storage/uploads/20200331/93fb17c3c9f8969e12e9c0863c2c012c.png, "sh_id": 1, "state": 3 }, { "student_id": 24, "name": 海绵宝宝, "header": http://www.jygl.cn/storage/uploads/20200331/93fb17c3c9f8969e12e9c0863c2c012c.png, "sh_id": "", "state": 1 } ], "plan_count": 2, "actual_count": 1, "comment_count": 0 }