用户注册
POST
/api/auth/register请求参数
Body 参数application/json
mobile
string
手机号码
password
string
密码
password2
string
重复密码
示例
{
"mobile": "",
"password": "",
"password2": ""
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
string
必需
示例
{
"code": 0,
"msg": "string",
"data": "string"
}
最后修改时间: 2 个月前