教室评分、查询
儿童编程
教室查询、搜索
Method and Url Structure
| Method |
Resource URL |
| GET |
/server/classroom/classroom_score_list/ |
cURL Example
curl -X GET -H -d data{...}https://app.bcjiaoyu.com/server/classroom/classroom_score_list/# 搜索姓名手机,传 keyword# 搜索结束时间,传 datehttps://app.bcjiaoyu.com/server/classroom/classroom_score_list/?keyword=哈哈&date=2018-07-24
JSON Response
# scores = 0 表示未评分过# new_score 表示新分数{ "count": 5346, "next": "http://app.bcjiaoyu.com/server/classroom/classroom_score_list/?page=2", "previous": null, "results": [ { "pk": 9044, "teacher": { "pk": 367, "owner": "15201052252", "name": "啦啦啦" }, "student": [ { "pk": 7249, "owner": "18516271364", "name": "", "nickname": "", "avatar": "", "sex": "S", "birthday": null } ], "lesson": { "pk": 64, "order_index": 215, "course": { "pk": 25, "name": "第三阶段:HTML5(二)", "types": "paid", "price": "999.00", "content": "橙旭园儿童编程三阶段课程,适合11岁以上,学习过前两阶段的学员。\r\n\r\nHTML5,即超文本标记语言(HTML)第五次重大修改。\r\n\r\n包含了新的元素,属性和行为,同时包含了一系列可以被用来让 Web 站点和应用更加多样化,功能更强大的技术。\r\n\r\n本课程学习之后,将会自己设计并开发个人网站、网页游戏、动画及H5轻应用。", "banner": "http://resource.bcgame-face2face.haorenao.cn/h52.png", "lesson_duration": "40分钟", "lesson_total": "5", "teacher": "专业计算机工程师", "offer_price": "799.00", "grade": "9-16岁", "isbuy": true, "iswelfare": false, "teach_types": "online", "class_types": "onetoone", "inventory": 940, "bought": false, "need_ship": false, "isrent": false, "free_days": 0, "price_days": "0.00", "outside_buy_url": "", "isend": true }, "name": "15-大作业-HTML介绍网站2", "content": "第十五课 大作业-HTML介绍网站2", "banner": "" }, "classschedule": { "pk": 14715, "starttime": "2018-07-24T16:15:00", "endtime": "2018-07-24T17:25:00", "quantity": 1, "lesson_total": 1, "is_large_class": false }, "name": "18516271364", "status": "finish", "types": "onetoone", "teach_types": "program_face2face", "join_datetime_student": null, "join_datetime_teacher": "2018-07-24T16:12:52", "leave_datetime_student": null, "leave_datetime_teacher": "2018-07-24T16:13:01", "teacher_userinfo": { "name": "啦啦啦", "avatar": "https://static1.bcjiaoyu.com/5a7ede147308f194ed9b108f98589a07_v.jpg-1080x1920" }, "record": true, "student_userinfo": { "name": "18516271364", "avatar": "", "lesson_total": 1006 }, "scores": 0, "new_score": 0 }, ... ]}
评分细则
Method and Url Structure
| Method |
Resource URL |
| GET |
/server/classroom/score_options/ |
cURL Example
curl -X GET -H -d data{...}https://app.bcjiaoyu.com/server/classroom/score_options/
JSON Response
{ "count": 12, "next": "http://app.bcjiaoyu.com/server/classroom/score_options/?page=2", "previous": null, "results": [ { "pk": 1, "describe": "按时上课、下课", "limit": 5 }, { "pk": 2, "describe": "仪容仪表", "limit": 5 }, { "pk": 3, "describe": "教姿教态", "limit": 5 }, { "pk": 4, "describe": "导入自然恰当", "limit": 5 }, { "pk": 5, "describe": "互动", "limit": 15 }, { "pk": 6, "describe": "趣味性、亲合力", "limit": 5 }, { "pk": 7, "describe": "讲解技巧", "limit": 20 }, { "pk": 8, "describe": "重难点集中讲解", "limit": 15 }, { "pk": 9, "describe": "课前课中出现问题及时联系班主任", "limit": 5 }, { "pk": 10, "describe": "学生表现、家长反馈", "limit": 5 } ]}
评分
Method and Url Structure
| Method |
Resource URL |
| POST |
/server/classroom/score/${pk}/ |
cURL Example
curl -X POST -H -d data{...}https://app.bcjiaoyu.com/server/classroom/score/9044/
Request Data
# key: 评分细则中的 pk# value: 每项对应的分数{ "1": 5, "2": 2, "3": 5, "4": 4, "5": 15, "6": 3, "7": 18, "8": 10, "9": 5, "10": 4, "11": 1, "12": 0}
JSON Response
{ "status": 0, "message": ""}
教室评分明细
Method and Url Structure
| Method |
Resource URL |
| GET |
/server/classroom/score_list/ |
cURL Example
curl -X GET -H -d data{...}https://app.bcjiaoyu.com/server/classroom/score_list/?classroom=9044
JSON Response
{ "count": 12, "next": "http://app.bcjiaoyu.com/server/classroom/score_list/?classroom=9044&page=2", "previous": null, "results": [ { "option": { "pk": 1, "describe": "按时上课、下课", "limit": 5 }, "score": 5 }, { "option": { "pk": 2, "describe": "仪容仪表", "limit": 5 }, "score": 2 }, { "option": { "pk": 3, "describe": "教姿教态", "limit": 5 }, "score": 5 }, { "option": { "pk": 4, "describe": "导入自然恰当", "limit": 5 }, "score": 4 }, { "option": { "pk": 5, "describe": "互动", "limit": 15 }, "score": 15 }, { "option": { "pk": 6, "describe": "趣味性、亲合力", "limit": 5 }, "score": 3 }, { "option": { "pk": 7, "describe": "讲解技巧", "limit": 20 }, "score": 18 }, { "option": { "pk": 8, "describe": "重难点集中讲解", "limit": 15 }, "score": 10 }, { "option": { "pk": 9, "describe": "课前课中出现问题及时联系班主任", "limit": 5 }, "score": 5 }, { "option": { "pk": 10, "describe": "学生表现、家长反馈", "limit": 5 }, "score": 4 } ]}