POST api/ClientUser/user/register
[已完成] 新用户注册
Request Information
URI Parameters
None.
Body Parameters
UserRegisterRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| mobile |
手机号(印度手机号为 91 开头,总长 12 位) |
string |
Required |
| otp |
OTP(印度手机验证码) |
string |
Required |
| referrerCode |
注册码/推荐码 |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"mobile": "sample string 1",
"otp": "sample string 2",
"referrerCode": "sample string 3"
}
Response Information
Resource Description
UserRegisterResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
1 为成功,其他为失败 |
integer |
None. |
| msg |
请求描述 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2"
}