电子班牌


课表-课表详情

[TOC]

简要描述
  • 课表-课表详情
请求URL
  • http://激活时候输入的服务地址/card/course/courseTable/{classCode}
请求方式
  • GET
请求参数 request body (form-data)
参数名 必选 类型 说明
classCode string 班级编码
返回示例
  {
    "code": 200,
    "flag": true,
    "msg": "",
    "data": [
        {
            "courseNum": "第一节课",
            "courseTime": "08:30-09:20",
            "courseOne": {
                "imageName":"image1.png",
                "teacherName":"王丽",
                "courseName":"语文",
                "courseTime":"8:20-9:15",
                "className":"一(3)班",
                "status":"1"
             },
             "courseTwo": {
                "imageName":"image1.png",
                "teacherName":"王丽",
                "courseName":"语文",
                "courseTime":"8:20-9:15",
                "className":"一(3)班",
                "status":"0"
             },
             "courseThree": {
                "imageName":"image1.png",
                "teacherName":"王丽",
                "courseName":"语文",
                "courseTime":"8:20-9:15",
                "className":"一(3)班",
                "status":"0"
             },
             "courseFour": {
                "imageName":"image1.png",
                "teacherName":"王丽",
                "courseName":"语文",
                "courseTime":"8:20-9:15",
                "className":"一(3)班",
                "status":"0"
             },
             "courseFive": {
                "imageName":"image1.png",
                "teacherName":"王丽",
                "courseName":"语文",
                "courseTime":"8:20-9:15",
                "className":"一(3)班",
                "status":"0"
             },
             "courseSix": {
                "imageName":"image1.png",
                "teacherName":"王丽",
                "courseName":"语文",
                "courseTime":"8:20-9:15",
                "className":"一(3)班",
                "status":"0"
             },
             "courseSeven": {
                "imageName":"image1.png",
                "teacherName":"王丽",
                "courseName":"语文",
                "courseTime":"8:20-9:15",
                "className":"一(3)班",
                "status":"0"
             }
        },
        {
            "courseNum": "第二节课",
            "courseTime": "9:30-10:10",
            "courseOne": {
                "imageName":"image1.png",
                "teacherName":"王丽",
                "courseName":"语文",
                "courseTime":"8:20-9:15",
                "className":"一(3)班",
                "status":"1"
             },
             "courseTwo": {
                "imageName":"image1.png",
                "teacherName":"王丽",
                "courseName":"语文",
                "courseTime":"8:20-9:15",
                "className":"一(3)班",
                "status":"0"
             },
             "courseThree": {
                "imageName":"image1.png",
                "teacherName":"王丽",
                "courseName":"语文",
                "courseTime":"8:20-9:15",
                "className":"一(3)班",
                "status":"0"
             },
             "courseFour": {
                "imageName":"image1.png",
                "teacherName":"王丽",
                "courseName":"语文",
                "courseTime":"8:20-9:15",
                "className":"一(3)班",
                "status":"0"
             },
             "courseFive": {
                "imageName":"image1.png",
                "teacherName":"王丽",
                "courseName":"语文",
                "courseTime":"8:20-9:15",
                "className":"一(3)班",
                "status":"0"
             },
             "courseSix": {
                "imageName":"image1.png",
                "teacherName":"王丽",
                "courseName":"语文",
                "courseTime":"8:20-9:15",
                "className":"一(3)班",
                "status":"0"
             },
             "courseSeven": {
                "imageName":"image1.png",
                "teacherName":"王丽",
                "courseName":"语文",
                "courseTime":"8:20-9:15",
                "className":"一(3)班",
                "status":"0"
             }
        }
    ]
  }
返回参数说明
参数名 类型 说明
code int code == 200时,说明接口http 请求成功,非200的情况说明http请求失败,此时flag必定=false
msg String 返回消息,如果flag = false,则msg 返回错误信息
flag boolean 除了根据code =200之外,还必须根据此接口定义接口请求是否成功: true 解锁成功,false 解锁失败
courseNum String 课节数如“1,2,3,4,5,6,7”
courseTime String 课程时间段
courseOne Object 星期一数据
courseTwo Object 星期二数据
courseThree Object 星期三数据
courseFour Object 星期一数据
courseFive Object 星期一数据
courseSix Object 星期一数据
courseSeven Object 星期一数据
imageName String 图片名称
teacherName String 教师名称
courseName String 课程名称
className String 教室就是“班级名称”
status String 1正在上课 2 已下课
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML