获取约课页面数据 websocket测试 POST http://yftest.znsite.cn/index.php/index/Index/appoint 响应参数 参数名 类型 描述 必填 courseList array 课程列表 必填 id int 课程id 必填 name string 课程名称 必填 appoint_rule object 约课参数 必填 can_appoint int 课前多长时间能预约 必填 not_cancel int 课前多长时间不预约 必填 说明 / 示例 { "courseList": [ { "id": 5, "name": "口才启蒙" }, { "id": 21, "name": "爵士舞一对一" } ], "appoint_rule": { "can_appoint": 4, "not_cancel": 2, } }
{ "courseList": [ { "id": 5, "name": "口才启蒙" }, { "id": 21, "name": "爵士舞一对一" } ], "appoint_rule": { "can_appoint": 4, "not_cancel": 2, } }