Skip to main content

功能说明

注册接口,支持账号密码注册,手机号注册,邮箱注册

请求说明

请求鉴权:接口需要增加验证 Header,请查看 鉴权说明

请求类型POST

请求限频100次/秒

请求地址:https://请求域名/jim/register

Content-Typeapplication/json

请求参数

参数数据类型是否必填参数说明
accountstring账号,建议字母+数字组合,长度5~20位, 注:account,phone,email 三选一即可
phonestring手机号
emailstring邮箱地址
codestring手机号和邮箱注册时必填,为收到的6位数字验证码
passwordstring账号密码

请求示例

POST /jim/register HTTP/1.1
appkey: appkey
Authorization: xxxxxxxxxxxxxxxxxx
Content-Type: application/json

{
"account":"username",
"password":"xxxxxx"
}

响应示例

{
"code":0,
"msg":"sucess"
}