文档
测试

班级课程表

POST
http://leave2.com/curriculum/api/Schedule/getScheduleForClass

请求头

参数名
类型
描述
必填
Authorization
必填

请求参数

参数名
类型
描述
必填
week
第几周
必填
class_id
班级id
必填

响应参数

参数名
类型
描述
必填
period
时间段
必填
items
节次列表
必填
num
第几节课
必填
start_time
开始时间
必填
end_time
结束时间
必填
lessons
课程明细列表
必填
name
课程名
必填
teacher
任课老师
必填

说明 / 示例

{ "status": 0, "msg": "操作成功", "datas": [ { "period": "上午", "items": [ { "id": "58", "time_period": "1", "num": "1", "start_time": "07:30", "end_time": "08:20", "company_uuid": "wwbfa3f2132a372d25", "company_name": "江阴市第一初级中学", "lessons": [ { "name": "数学", "teacher": "曹璐" }, { "name": "数学", "teacher": "曹璐" }, { "name": "数学", "teacher": "曹璐" }, { "name": "数学", "teacher": "曹璐" }, { "name": "数学", "teacher": "曹璐" } ] }, { "id": "59", "time_period": "1", "num": "2", "start_time": "08:30", "end_time": "09:20", "company_uuid": "wwbfa3f2132a372d25", "company_name": "江阴市第一初级中学", "lessons": [ { "name": "语文", "teacher": "曹璐" }, { "name": "语文", "teacher": "曹璐" }, { "name": "语文", "teacher": "曹璐" }, { "name": "语文", "teacher": "曹璐" }, { "name": "语文", "teacher": "曹璐" } ] }, { "id": "60", "time_period": "1", "num": "3", "start_time": "09:30", "end_time": "11:20", "company_uuid": "wwbfa3f2132a372d25", "company_name": "江阴市第一初级中学", "lessons": [ { "name": "语文", "teacher": "曹璐" }, { "name": "语文", "teacher": "曹璐" }, { "name": "音乐", "teacher": "曹璐" }, { "name": "体育", "teacher": "曹璐" }, { "name": "音乐", "teacher": "曹璐" } ] } ] }, { "period": "下午", "items": [ { "id": "61", "time_period": "2", "num": "4", "start_time": "13:30", "end_time": "14:30", "company_uuid": "wwbfa3f2132a372d25", "company_name": "江阴市第一初级中学", "lessons": [ { "name": "体育", "teacher": "曹璐" }, { "name": "体育", "teacher": "曹璐" }, { "name": "美术", "teacher": "曹璐" }, { "name": "语自", "teacher": "曹璐" }, { "name": "语文", "teacher": "曹璐" } ] }, { "id": "62", "time_period": "2", "num": "5", "start_time": "14:30", "end_time": "15:30", "company_uuid": "wwbfa3f2132a372d25", "company_name": "江阴市第一初级中学", "lessons": [ { "name": "棋类", "teacher": "曹璐" }, { "name": "美术", "teacher": "曹璐" }, { "name": "体育", "teacher": "曹璐" }, { "name": "道法", "teacher": "曹璐" }, { "name": "口语", "teacher": "曹璐" } ] }, { "id": "63", "time_period": "2", "num": "6", "start_time": "15:40", "end_time": "16:30", "company_uuid": "wwbfa3f2132a372d25", "company_name": "江阴市第一初级中学", "lessons": [ { "name": "数自", "teacher": "曹璐" }, { "name": "道法", "teacher": "曹璐" }, { "name": "综3", "teacher": "曹璐" }, { "name": "科学", "teacher": "曹璐" }, { "name": "校1", "teacher": "曹璐" } ] } ] } ] }