注册
POST
/api/v1/user/register
接口描述
注册
请求参数
参数名
类型
描述
必填
passport
string
通行证
必填
password
string
密码
必填
phone
string
手机号
必填
phoneCode
string
手机验证码
必填
idcard
string
身份证号
可选
realName
string
真实姓名
可选
authType
string
账户类型:passport, phone, phoneCode
必填
needLogin
bool
注册完成后是否拥有登录态
必填
appid
int
分配给业务方的id
必填