修改布局,修复BUG
Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / CI OK (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Deploy Website on push / Rerun on failure (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
Some checks failed
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CI / CI OK (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Deploy Website on push / Rerun on failure (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
This commit is contained in:
36
API.md
36
API.md
@@ -188,6 +188,42 @@
|
||||
- **参数**:
|
||||
- `file` (file, 必填): 图片文件
|
||||
|
||||
#### 4.15 获取教室选座列表
|
||||
- **URL**: `GET /api/admin/classroom/getSeatList`
|
||||
- **说明**: 获取教室的选座列表,以座位号排序
|
||||
- **需要登录**: 是
|
||||
- **参数**:
|
||||
- `id` (int, 必填): 教室ID
|
||||
- **返回数据**:
|
||||
```json
|
||||
{
|
||||
"code": 200,
|
||||
"message": "获取成功",
|
||||
"data": [
|
||||
{
|
||||
"seat_number": "1",
|
||||
"is_selected": 1,
|
||||
"student_name": "张三",
|
||||
"student_mobile": "13800138000",
|
||||
"select_time": "2024-03-20 10:00:00"
|
||||
},
|
||||
{
|
||||
"seat_number": "2",
|
||||
"is_selected": 0,
|
||||
"student_name": "",
|
||||
"student_mobile": "",
|
||||
"select_time": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
- **字段说明**:
|
||||
- `seat_number` (string): 座位号
|
||||
- `is_selected` (int): 是否选座(1已选,0未选)
|
||||
- `student_name` (string): 学员姓名(未选座时为空)
|
||||
- `student_mobile` (string): 学员手机号(未选座时为空)
|
||||
- `select_time` (string): 选座时间(未选座时为空)
|
||||
|
||||
### 5. 预订管理
|
||||
|
||||
#### 5.1 获取预订列表
|
||||
|
||||
Reference in New Issue
Block a user