title: 专业综合实践与训练 v1.0.0
language_tabs:
- shell: Shell
- http: HTTP
- javascript: JavaScript
- ruby: Ruby
- python: Python
- php: PHP
- java: Java
- go: Go
toc_footers: []
includes: []
search: true
code_clipboard: true
highlight_theme: darkula
headingLevel: 2
generator: “@tarslib/widdershins v4.0.17”
专业综合实践与训练
v1.0.0
Base URLs:
学员信息管理
GET 列表查询学员信息
GET /student/stu-list
返回示例
OK
{
"code": 200,
"message": "操作成功",
"data": [
{
"id": 24,
"userId": 24,
"name": "学员1",
"age": 20,
"sex": "女",
"idKind": "居民身份证",
"idCard": 13344,
"phone": "13744569876",
"region": "汉族",
"time": "2023-07-07 00:00:00",
"planA": 100,
"planB": 100,
"planC": 0,
"planD": 0,
"instructorId": 23,
"entry": 0,
"typeId": 1
},
{
"id": 25,
"userId": 25,
"name": "学员2",
"age": 21,
"sex": "女",
"idKind": null,
"idCard": 13345,
"phone": "15433427789",
"region": "汉族",
"time": null,
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"instructorId": 23,
"entry": 0,
"typeId": null
},
{
"id": 26,
"userId": 26,
"name": "学员3",
"age": 18,
"sex": "女",
"idKind": null,
"idCard": 13346,
"phone": "17745662311",
"region": "汉族",
"time": null,
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"instructorId": 23,
"entry": 0,
"typeId": null
},
{
"id": 29,
"userId": 29,
"name": "学员五",
"age": 23,
"sex": "女",
"idKind": null,
"idCard": 13347,
"phone": null,
"region": "回族",
"time": null,
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"instructorId": 23,
"entry": 2,
"typeId": null
},
{
"id": 32,
"userId": 32,
"name": "张三",
"age": 18,
"sex": "男",
"idKind": "居民身份证",
"idCard": 1234567890,
"phone": "121321435",
"region": "汉族",
"time": "2023-07-07 00:00:00",
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"instructorId": 23,
"entry": 100,
"typeId": 6
}
]
}
401 Response
{}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
POST 修改学员信息
POST /student/update
Body 请求参数
{
"age": 0,
"entry": 0,
"id": 0,
"idCard": 0,
"idKind": "string",
"instructorId": 0,
"name": "string",
"phone": "string",
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"region": "string",
"sex": "string",
"time": "2019-08-24T14:15:22Z",
"typeId": 0,
"userId": 0
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
body | body | Student | 否 | none |
返回示例
200 Response
{
"code": 0,
"data": {
"age": 0,
"entry": 0,
"id": 0,
"idCard": 0,
"idKind": "string",
"instructorId": 0,
"name": "string",
"phone": "string",
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"region": "string",
"sex": "string",
"time": "2019-08-24T14:15:22Z",
"typeId": 0,
"userId": 0
},
"message": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | Inline |
201 | Created | Created | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
GET 通过教练id列表查询学员信息
GET /student/stu-list-by-instructorid/{id}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
id | path | integer | 是 | id |
返回示例
OK
{
"code": 200,
"message": "操作成功",
"data": [
{
"id": 24,
"userId": 24,
"name": "学员1",
"age": 20,
"sex": "女",
"idKind": "居民身份证",
"idCard": 13344,
"phone": "13744569876",
"region": "汉族",
"time": "2023-07-07 00:00:00",
"planA": 100,
"planB": 100,
"planC": 0,
"planD": 0,
"instructorId": 23,
"entry": 0,
"typeId": 1
},
{
"id": 25,
"userId": 25,
"name": "学员2",
"age": 21,
"sex": "女",
"idKind": null,
"idCard": 13345,
"phone": "15433427789",
"region": "汉族",
"time": null,
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"instructorId": 23,
"entry": 0,
"typeId": null
},
{
"id": 26,
"userId": 26,
"name": "学员3",
"age": 18,
"sex": "女",
"idKind": null,
"idCard": 13346,
"phone": "17745662311",
"region": "汉族",
"time": null,
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"instructorId": 23,
"entry": 0,
"typeId": null
},
{
"id": 29,
"userId": 29,
"name": "学员五",
"age": 23,
"sex": "女",
"idKind": null,
"idCard": 13347,
"phone": null,
"region": "回族",
"time": null,
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"instructorId": 23,
"entry": 2,
"typeId": null
},
{
"id": 32,
"userId": 32,
"name": "张三",
"age": 18,
"sex": "男",
"idKind": "居民身份证",
"idCard": 1234567890,
"phone": "121321435",
"region": "汉族",
"time": "2023-07-07 00:00:00",
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"instructorId": 23,
"entry": 100,
"typeId": 6
}
]
}
401 Response
{}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
POST 录入考试成绩
POST /student/getplan
Body 请求参数
{
"id": 0,
"plan": 0
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
body | body | Plan | 否 | none |
返回示例
OK
{
"code": 200,
"message": "操作成功",
"data": {
"id": 26,
"userId": 26,
"name": "学员3",
"age": 18,
"sex": "女",
"idKind": null,
"idCard": 13346,
"phone": "17745662311",
"region": "汉族",
"time": null,
"planA": 80,
"planB": 0,
"planC": 0,
"planD": 0,
"instructorId": 23,
"entry": 0,
"typeId": null
}
}
201 Response
{}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | Inline |
201 | Created | Created | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
GET 通过id查找报名资格
GET /student/get-entry/{userId}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
userId | path | integer | 是 | userId |
返回示例
200 Response
{
"code": 0,
"data": 0,
"message": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
POST 教练打卡信息
POST /student/updateentry/{userId}/{time}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
userId | path | integer | 是 | userId |
time | path | integer | 是 | time |
返回示例
OK
{
"code": 200,
"message": "操作成功",
"data": {
"id": 29,
"userId": 29,
"name": "学员五",
"age": 23,
"sex": "女",
"idKind": null,
"idCard": 13347,
"phone": null,
"region": "回族",
"time": null,
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"instructorId": 23,
"entry": 2,
"typeId": null
}
}
201 Response
{}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | Inline |
201 | Created | Created | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
GET 列表查询学员信息包括教练名称和驾校名称
GET /student/stu-list-and-else
返回示例
OK
{
"code": 200,
"message": "操作成功",
"data": [
{
"id": 24,
"name": null,
"age": 20,
"sex": "女",
"typename": "大型客车 A1",
"idKind": "居民身份证",
"idCard": 13344,
"phone": "13744569876",
"region": "汉族",
"time": "2023-07-07 00:00:00",
"planA": 100,
"planB": 100,
"planC": 0,
"planD": 0,
"instructorId": 23,
"entry": 0,
"instructorName": "王教练",
"schoolName": "双百驾校"
},
{
"id": 32,
"name": null,
"age": 18,
"sex": "男",
"typename": "小型汽车 C1",
"idKind": "居民身份证",
"idCard": 1234567890,
"phone": "121321435",
"region": "汉族",
"time": "2023-07-07 00:00:00",
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"instructorId": 23,
"entry": 100,
"instructorName": "王教练",
"schoolName": "双百驾校"
}
]
}
401 Response
{}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
GET 模糊查询全部学员
GET /student/getStuListByName/{keyword}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
keyword | path | string | 是 | keyword |
返回示例
200 Response
{
"code": 0,
"data": [
{
"age": 0,
"entry": 0,
"id": 0,
"idCard": 0,
"idKind": "string",
"instructorId": 0,
"name": "string",
"phone": "string",
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"region": "string",
"sex": "string",
"time": "2019-08-24T14:15:22Z",
"typeId": 0,
"userId": 0
}
],
"message": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
GET 模糊查询教练学员
GET /student/getStuByName/{keyword}/{insId}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
keyword | path | string | 是 | keyword |
insId | path | integer | 是 | insId |
返回示例
200 Response
{
"code": 0,
"data": [
{
"age": 0,
"entry": 0,
"id": 0,
"idCard": 0,
"idKind": "string",
"instructorId": 0,
"name": "string",
"phone": "string",
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"region": "string",
"sex": "string",
"time": "2019-08-24T14:15:22Z",
"typeId": 0,
"userId": 0
}
],
"message": "string"
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
POST 通过id修改学员教练id和驾校id和身份证号和考试类型
POST /student/updateid
Body 请求参数
{
"idCard": 0,
"idKind": "string",
"instructorId": 0,
"schoolId": 0,
"typeId": 0,
"userId": 0
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
body | body | Stu | 否 | none |
返回示例
OK
{
"code": 200,
"message": "操作成功",
"data": {
"id": 29,
"userId": 29,
"name": "学员五",
"age": 23,
"sex": "女",
"idKind": "居民身份证",
"idCard": 4306822220292828000,
"phone": null,
"region": "回族",
"time": null,
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"instructorId": 33,
"entry": 2,
"typeId": 6
}
}
201 Response
{}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | Inline |
201 | Created | Created | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
用户信息管理
POST 登录以后返回id
POST /user/login
Body 请求参数
{
"password": "string",
"username": "string"
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
body | body | UserLoginParam | 否 | none |
返回示例
OK
{
"code": 200,
"message": "操作成功",
"data": {
"userInfo": {
"id": 34,
"username": "小杜",
"password": null,
"email": "554959937@qq.com",
"icon": null
},
"userRole": {
"id": 3,
"driveschoolId": 1,
"name": "学员1",
"driveschoolName": "双百驾校",
"description": "科目一"
}
}
}
201 Response
{}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | Inline |
201 | Created | Created | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
POST 用户注册
POST /user/register
Body 请求参数
{
"authCode": "string",
"email": "string",
"password": "string",
"username": "string"
}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
body | body | UserRegisterParam | 否 | none |
返回示例
OK
{
"code": 200,
"message": "操作成功",
"data": {
"id": 34,
"username": "小杜",
"password": "$2a$10$7waPWMAZLfazcwUQjDXnsOeuHRvX5AYAqzctQOhDfjGOkuOiJneNK",
"email": "554959937@qq.com",
"icon": null
}
}
201 Response
{}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | Inline |
201 | Created | Created | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
POST 上传用户头像
POST /user/upload/icon/{userId}
Body 请求参数
file: string
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
userId | path | integer | 是 | userId |
body | body | object | 否 | none |
» file | body | string(binary) | 是 | file |
返回示例
OK
{
"code": 200,
"message": "操作成功",
"data": "e35b039a-2c8f-4104-9cb3-36dbdbb1c511.jpg"
}
201 Response
{}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | CommonResult |
201 | Created | Created | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
邮件发送管理
GET 发送邮箱验证码
GET /mail/send/{email}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
path | string | 是 | none |
返回示例
成功
{
"code": 200,
"message": "操作成功",
"data": null
}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | 成功 | CommonResult |
角色信息管理
POST 申请账号角色
POST /role/apply/{userId}/{driveschoolId}/{roleId}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
userId | path | integer | 是 | userId |
driveschoolId | path | integer | 是 | driveschoolId |
roleId | path | integer | 是 | roleId |
返回示例
OK
{
"code": 200,
"message": "操作成功",
"data": 1
}
201 Response
{}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | CommonResult |
201 | Created | Created | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
POST 审核角色申请
POST /role/audit/{applyId}/{passed}
请求参数
名称 | 位置 | 类型 | 必选 | 说明 |
---|---|---|---|---|
applyId | path | integer | 是 | applyId |
passed | path | integer | 是 | passed |
返回示例
OK
{
"code": 200,
"message": "操作成功",
"data": 1
}
201 Response
{}
返回结果
状态码 | 状态码含义 | 说明 | 数据模型 |
---|---|---|---|
200 | OK | OK | CommonResult |
201 | Created | Created | Inline |
401 | Unauthorized | Unauthorized | Inline |
403 | Forbidden | Forbidden | Inline |
404 | Not Found | Not Found | Inline |
返回数据结构
数据模型
Stu
{
"idCard": 0,
"idKind": "string",
"instructorId": 0,
"schoolId": 0,
"typeId": 0,
"userId": 0
}
属性
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
idCard | integer(int64) | false | none | none | |
idKind | string | false | none | none | |
instructorId | integer(int64) | false | none | none | |
schoolId | integer(int64) | false | none | none | |
typeId | integer(int64) | false | none | none | |
userId | integer(int64) | false | none | none |
CommonResult«List«StudentAndElse»»
{
"code": 0,
"data": [
{
"age": 0,
"entry": 0,
"id": 0,
"idCard": 0,
"idKind": "string",
"instructorId": 0,
"instructorName": "string",
"name": "string",
"phone": "string",
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"region": "string",
"schoolName": "string",
"sex": "string",
"time": "2019-08-24T14:15:22Z",
"typename": "string"
}
],
"message": "string"
}
属性
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
code | integer(int64) | false | none | none | |
data | [StudentAndElse] | false | none | none | |
message | string | false | none | none |
StudentAndElse
{
"age": 0,
"entry": 0,
"id": 0,
"idCard": 0,
"idKind": "string",
"instructorId": 0,
"instructorName": "string",
"name": "string",
"phone": "string",
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"region": "string",
"schoolName": "string",
"sex": "string",
"time": "2019-08-24T14:15:22Z",
"typename": "string"
}
属性
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
age | integer(int32) | false | none | 年龄 | |
entry | integer(int32) | false | none | 练习进度 | |
id | integer(int64) | false | none | none | |
idCard | integer(int64) | false | none | 证件号码 | |
idKind | string | false | none | 证件类型(居民身份证、护照或港澳通行证) | |
instructorId | integer(int64) | false | none | 教练id | |
instructorName | string | false | none | none | |
name | string | false | none | 姓名 | |
phone | string | false | none | 手机号 | |
planA | integer(int32) | false | none | 科一成绩 | |
planB | integer(int32) | false | none | 科二成绩 | |
planC | integer(int32) | false | none | 科三成绩 | |
planD | integer(int32) | false | none | 科四成绩 | |
region | string | false | none | 省份 | |
schoolName | string | false | none | none | |
sex | string | false | none | 性别 | |
time | string(date-time) | false | none | 完成训练时间(可预约五天后的考试) | |
typename | string | false | none | 学车类型 |
CommonResult«int»
{
"code": 0,
"data": 0,
"message": "string"
}
属性
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
code | integer(int64) | false | none | none | |
data | integer(int32) | false | none | none | |
message | string | false | none | none |
Plan
{
"id": 0,
"plan": 0
}
属性
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
id | integer(int64) | false | none | 学员id | |
plan | integer(int32) | true | none | 成绩 |
CommonResult
{
"code": 0,
"message": "string",
"data": {}
}
属性
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
code | integer | false | none | 状态码 | |
message | string | false | none | 提示信息 | |
data | object | false | none | 数据封装 |
{}
属性
None
CommonResult«Student»
{
"code": 0,
"data": {
"age": 0,
"entry": 0,
"id": 0,
"idCard": 0,
"idKind": "string",
"instructorId": 0,
"name": "string",
"phone": "string",
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"region": "string",
"sex": "string",
"time": "2019-08-24T14:15:22Z",
"typeId": 0,
"userId": 0
},
"message": "string"
}
属性
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
code | integer(int64) | false | none | none | |
data | Student | false | none | none | |
message | string | false | none | none |
Student
{
"age": 0,
"entry": 0,
"id": 0,
"idCard": 0,
"idKind": "string",
"instructorId": 0,
"name": "string",
"phone": "string",
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"region": "string",
"sex": "string",
"time": "2019-08-24T14:15:22Z",
"typeId": 0,
"userId": 0
}
属性
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
age | integer(int32) | false | none | 年龄 | |
entry | integer(int32) | false | none | 练习进度 | |
id | integer(int64) | false | none | none | |
idCard | integer(int64) | false | none | 证件号码 | |
idKind | string | false | none | 证件类型(居民身份证、护照或港澳通行证) | |
instructorId | integer(int64) | false | none | 教练id | |
name | string | false | none | 姓名 | |
phone | string | false | none | 手机号 | |
planA | integer(int32) | false | none | 科一成绩 | |
planB | integer(int32) | false | none | 科二成绩 | |
planC | integer(int32) | false | none | 科三成绩 | |
planD | integer(int32) | false | none | 科四成绩 | |
region | string | false | none | 省份 | |
sex | string | false | none | 性别 | |
time | string(date-time) | false | none | 完成训练时间(可预约五天后的考试) | |
typeId | integer(int64) | false | none | 学车类型 | |
userId | integer(int64) | false | none | 用户id |
UserLoginParam
{
"password": "string",
"username": "string"
}
属性
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
password | string | true | none | 密码 | |
username | string | true | none | 用户名 |
CommonResult«List«Student»»
{
"code": 0,
"data": [
{
"age": 0,
"entry": 0,
"id": 0,
"idCard": 0,
"idKind": "string",
"instructorId": 0,
"name": "string",
"phone": "string",
"planA": 0,
"planB": 0,
"planC": 0,
"planD": 0,
"region": "string",
"sex": "string",
"time": "2019-08-24T14:15:22Z",
"typeId": 0,
"userId": 0
}
],
"message": "string"
}
属性
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
code | integer(int64) | false | none | none | |
data | [Student] | false | none | none | |
message | string | false | none | none |
CommonResult«object»
{
"code": 0,
"data": {},
"message": "string"
}
属性
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
code | integer(int64) | false | none | none | |
data | object | false | none | none | |
message | string | false | none | none |
UserRegisterParam
{
"authCode": "string",
"email": "string",
"password": "string",
"username": "string"
}
属性
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
authCode | string | true | none | 邮箱验证码 | |
string | true | none | 邮箱 | ||
password | string | true | none | 密码 | |
username | string | true | none | 用户名 |
CommonResult«Map«string,object»»
{
"code": 0,
"data": {},
"message": "string"
}
属性
名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
---|---|---|---|---|---|
code | integer(int64) | false | none | none | |
data | object | false | none | none | |
message | string | false | none | none |