On this page
【新增】用户名注册账号
接口功能
用户名注册
URL
支持格式
JSON
HTTP请求方式
POST
请求参数
参数 | 必选 | 类型 | 说明 |
---|---|---|---|
username | true | string | 账号 |
password | true | string | 密码 |
repassword | true | string | 确认密码 |
接口示例
json5
{
"msg": "注册成功",
"data": {
"username": "...",
"password": true,
"create_time": 1604847504,
"update_time": 1604847504,
"id": "539",
"logintype": "username",
"token": "2e...73",
"userinfo": {
"id": 529,
"user_id": 539,
"age": 0,
"sex": 2,
"qg": 0,
"job": null,
"path": null,
"birthday": null
},
"email": false
}
}