POST api/User/Reg1_MobileCheck
用户注册第一步:检测用户输入的手机号码是否已被注册 待检测手机号码(11位)、来访域名
Request Information
URI Parameters
None.
Body Parameters
M_UserRegisterMobile| Name | Description | Type | Additional information |
|---|---|---|---|
| MobileNumber |
手机号码 |
string |
None. |
| DomainName |
来访域名(用户访问该站点时输入的域名) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"MobileNumber": "sample string 1",
"DomainName": "sample string 2"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
执行结果反馈[State值]:1表示手机号码有效,可以进行注册;0表示手机号码检测过程中出错,-1表示手机号码已被注,-2表示手机号码无效;
APIResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| State |
执行结果反馈:1表示成功、0表示失败, -1用户Token验证失败, 其它出错类型(值将小于-1)与具体业务关联紧密,详情可见Msg描述内容 |
integer |
None. |
| Msg |
返回的错误或描述信息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"State": 1,
"Msg": "sample string 2"
}