简要描述:
版本号 | 制定人 | 制定日期 | 修订日期 |
---|---|---|---|
1.0.0 | kevin | 2024-08-05 |
请求URL:
请求方式:
- GET
请求头:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
token | 是 | string | 凭证 |
请求参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
id | 是 | int | 老师记录id |
user_subscribe | 是 | int | 固定值 1 |
返回示例:
正确时返回:
{
"status": 200,
"msg": "成功",
"data": [
{
"day": "2024-08-05",
"week": "今天",
"time_select_rang": [
{
"hour": 7,
"value": "7:00:00",
"status": false
},
{
"hour": 8,
"value": "8:00:00",
"status": false
},
{
"hour": 9,
"value": "9:00:00",
"status": false
}
]
},
{
"day": "2024-08-06",
"week": "明天",
"time_select_rang": [
{
"hour": 7,
"value": "7:00:00",
"status": true
},
{
"hour": 8,
"value": "8:00:00",
"status": true
},
{
"hour": 9,
"value": "9:00:00",
"status": true
},
{
"hour": 10,
"value": "10:00:00",
"status": false
}
]
},
{
"day": "2024-08-07",
"week": "后天",
"time_select_rang": {
"7": {
"hour": 14,
"value": "14:00:00",
"status": true
},
"8": {
"hour": 15,
"value": "15:00:00",
"status": true
},
"9": {
"hour": 16,
"value": "16:00:00",
"status": true
},
"10": {
"hour": 17,
"value": "17:00:00",
"status": true
},
"11": {
"hour": 18,
"value": "18:00:00",
"status": true
},
"12": {
"hour": 19,
"value": "19:00:00",
"status": true
}
}
},
{
"day": "2024-08-08",
"week": "星期四",
"time_select_rang": []
},
{
"day": "2024-08-09",
"week": "星期五",
"time_select_rang": []
},
{
"day": "2024-08-10",
"week": "星期六",
"time_select_rang": [
{
"hour": 7,
"value": "7:00:00",
"status": true
},
{
"hour": 8,
"value": "8:00:00",
"status": true
},
{
"hour": 9,
"value": "9:00:00",
"status": true
},
{
"hour": 10,
"value": "10:00:00",
"status": true
},
{
"hour": 11,
"value": "11:00:00",
"status": true
},
{
"hour": 12,
"value": "12:00:00",
"status": true
},
{
"hour": 13,
"value": "13:00:00",
"status": true
},
{
"hour": 14,
"value": "14:00:00",
"status": true
},
{
"hour": 15,
"value": "15:00:00",
"status": true
},
{
"hour": 16,
"value": "16:00:00",
"status": true
},
{
"hour": 17,
"value": "17:00:00",
"status": true
},
{
"hour": 18,
"value": "18:00:00",
"status": true
},
{
"hour": 19,
"value": "19:00:00",
"status": true
},
{
"hour": 20,
"value": "20:00:00",
"status": true
},
{
"hour": 21,
"value": "21:00:00",
"status": true
}
]
},
{
"day": "2024-08-11",
"week": "星期天",
"time_select_rang": []
}
],
"other": []
}
错误时返回:
{
"status": 0,
"msg": "验证码错误"
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
day | string | 日期 |
week | int | 星期 |
time_select_rang.hour | string | 小时 |
time_select_rang.value | string | 小时备注 |
time_select_rang.status | string | 是否可以预约【true=可以预约,false=不可以预约】 |
备注:
- 无
作者:admin 创建时间:2024-08-05 18:22
最后编辑:admin 更新时间:2024-12-16 11:22
最后编辑:admin 更新时间:2024-12-16 11:22