GET course/get_course_leave_list/{id}
待请假(传入ID)获取当前id 的课程的可以请假的课时
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
待请假(传入ID)获取当前id 的课程的可以请假的课时
DataResponseOfClassWaitLeaveViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| message | string |
None. |
|
| success | boolean |
None. |
|
| data | ClassWaitLeaveViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 2",
"success": true,
"data": {
"title": "sample string 1",
"course_id": 2,
"lecturer_name": "sample string 3",
"class_time": "sample string 4",
"class_list": [
{
"class_id": 1,
"class_time_from_str": "11月7日 05:17",
"class_time_to_str": "05:17",
"course_id": 4,
"class_status_id": 5,
"class_title": "sample string 6"
},
{
"class_id": 1,
"class_time_from_str": "11月7日 05:17",
"class_time_to_str": "05:17",
"course_id": 4,
"class_status_id": 5,
"class_title": "sample string 6"
}
]
}
}