文档
测试
POST
localhost:8083/cyber/user/register

请求参数

参数名
类型
描述
必填
openId
string
示例:2233
必填
name
string
示例:dongdong
必填
phone
string
示例:17635863565
必填
gender
int
示例:1
必填
studentNo
string
示例:567
必填
personality
string
示例:why
必填
professional
string
示例:网安
必填
grade
string
示例:2021
必填

说明 / 示例

请求: { "openId": "2233", "name": "dongdong", "phone": "17635863565", "gender": 1, "studentNo": "567", "personality": "why", "professional": "网安", "grade": "2021" } 结果 { "code": 1, "message": "操作成功", "data": { "id": 27, "avatarUrl": null, "openId": "2233", "name": "dongdong", "phone": "17635863565", "contactInfo": null, "gender": 1, "grade": "2021", "studentNo": "567", "professional": "网安", "hometown": null, "email": null, "introduction": null, "role": 10, "enabled": true, "createdTime": "2023-01-04T18:46:29.836", "personality": "why" } }