名称:注册
接口:/merchant/login/register
请求方式:post
参数名 | 类型 | 必填 | 说明 | 示例 |
---|---|---|---|---|
mobile | string | Y | 手机号 | 13812345678 |
string | Y | 邮箱 | 123456@qq.com | |
password | string | Y | 密码 | !@1233456 |
verifycode | string | Y | 验证码 | 1233456 |
type | string(enum) | Y | 验证码类型,固定值:re_verifycode | re_verifycode |
bind_type | int | N | 0代表正常注册不绑定第三方,1代表微信绑定注册 | 1 |
返回示例
{
"code": 200,
"message": "注册成功",
"result": [ ]
}
{
"code": 40001,
"message": "请输入正确的手机号",
"result": [ ]
}
{
"code": 40001,
"message": "验证码错误",
"result": [ ]
}