用户注册
请求信息
接口地址
http://passport.hkapi.esuhaitao.com/User/Register
请求方式
POST
Head 参数
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| Authorization |
参数签名 把“输入参数 JSON 格式的字符串内容”使用HMACSHA1(URL安全的Base64编码) 进行加密 查看示例 |
string |
Required |
222002v1H0Y3u0n1T2Z2M052x1C1C0M0 |
无。 |
输入参数
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| UserAccount |
用户账户 |
string |
Required |
无。 |
无。 |
| AccountType |
账户类型 |
string |
无。 |
无。 |
无。 |
| Password |
登录密码 |
string |
Required |
无。 |
无。 |
| CheckCode |
检验码 |
string |
无。 |
无。 |
无。 |
| RegisterRuleCode |
注册规则码 |
string |
Required |
无。 |
无。 |
| InviteCode |
邀请码 |
string |
无。 |
无。 |
无。 |
| IsPartner |
是否合作商 |
boolean |
无。 |
无。 |
无。 |
请求参数格式
application/json 或 text/json
Sample:
{
"UserAccount": "sample string 1",
"AccountType": "sample string 2",
"Password": "sample string 3",
"CheckCode": "sample string 4",
"RegisterRuleCode": "sample string 5",
"InviteCode": "sample string 6",
"IsPartner": true,
"Ip": "sample string 8",
"SiteAppId": 9
}
应答信息
资源说明
| 参数名 | 说明 | 类型 | 特性 | 默认值 | 示例 |
|---|---|---|---|---|---|
| Code | integer |
无。 |
无。 |
无。 |
|
| Message | string |
无。 |
无。 |
无。 |
应答结果格式
application/json 或 text/json
Sample:
{
"Code": 1,
"Message": "sample string 2"
}