# 用户注册

# 简要描述
  • 用户注册接口
# 请求URL
  • /api/register
# 请求头
参数名 必选 类型 说明
Content-Type string 此参数必传,当请求数据非json时此参数传对应格式如(multipartform-data,application/x-www-form-urlencoded,等)是json请传application/json
askKey string 此参数必传,验证app的令牌
sign string 此参数如果在app设置开启了验签是必传
time string 当开启验签时,此参数为必传
apiUserToken string 除了部分不验证用户令牌的接口以外此参数为必传(注册/登陆/发送验证码)不是必传,其余都是必传
# 请求方式
  • POST
# 参数
参数名 必选 类型 说明
userNumber string 用户名
email string 邮箱
passWord string 密码
code string 验证码
# 请求
{
    "userNumber":"123456",
    "email":"313097897@qq.com",
    "passWord":"123456",
    "code":"667899"
}
1
2
3
4
5
6
# 返回示例
{
    "code": "200",
    "message": "",
    "status": true,
    "data": null,
    "pc": null
}
1
2
3
4
5
6
7
# 返回参数说明
参数名 类型 说明
code string 状态码200成功403权限异常或登陆超时,500请求异常
# 备注
  • 更多返回错误代码请看首页的错误代码描述
lastUpdate: 7/25/2024, 4:20:09 PM