小班课后台接口.md 885 Bytes

小班课后台接口文档

1. 创建班级接口

URL: {{localhost}}/boxfish-online-card/classSmall/manager/addClass Method: POST RequestBody:

{
    "operationAccount":"zhangwang@boxfish.cn",
    "name":"五年级下-4月班级BAKKK",
    "englishName":"GRADE_5_B Junly small calss",
    "grade":"GRADE_5_B",
    "mentorName":"张旺老师",
    "classOpenTime":1554134400000,
    "classCloseTime":1556640000000,
    "scheduleList":[
        {
            "classType":"CLASS_SMALL_CN",
            "weekend":"TUESDAY",
            "scheduleStartTime":1554199200000,
            "scheduleEndTime":1554200700000,
            "scheduleDeadTime":1554201000000
        },
        {
            "classType":"CLASS_SMALL_US",
            "weekend":"FRIDAY",
            "scheduleStartTime":1554204600000,
            "scheduleEndTime":1554206100000,
            "scheduleDeadTime":1554199200000
        }
    ]
}

ResponseBody:

{
    "status": "SUCCESS",
    "message": "添加课程成功"
}