用户快速注册接口
<p><strong>简要描述:</strong> </p>
<ul>
<li>用户快速注册接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>域名/webapi/user/UserRegByQuick</code></li>
</ul>
<p><strong>请求方式:</strong> </p>
<ul>
<li>Get</li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">mobile</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>手机号</td>
</tr>
<tr>
<td style="text-align: left;">password</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>密码</td>
</tr>
<tr>
<td style="text-align: left;">mobilecode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>手机验证码</td>
</tr>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>用户组ID 2学员 3机构 4教师</td>
</tr>
<tr>
<td style="text-align: left;">apikey</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>api秘钥</td>
</tr>
</tbody>
</table>
<p><strong>注册成功返回示例</strong></p>
<pre><code> "IDCard": null,
"Privacy": 0,
"UserFace": "http:\/\/localhost\/Config\/APP\/static\/images\/common\/default-avatar.png",
"AlipayID": null,
"GroupID": 2,
"IsMobileRZ": 0,
"ApiToken": "5JKHM9PR0W3B83E",
"RealName": null,
"ChargeType": 1,
"AskRankId": 0,
"tagsids": null,
"UnionID": null,
"IsAgent": 0,
"EDays": 0,
"Address": null,
"CheckNum": "S4SG01TDK9",
"ScoreHasUse": 0,
"Answer": null,
"LastLoginTime": "2020-02-22T20:29:14.033",
"IsWeixinUnBind": 0,
"IsBindGZ": 0,
"UserID": 1659,
"open_space": 1,
"zipcode": null,
"BeginDate": "2020-02-22T20:29:14.033",
"qqopenid": null,
"Point": 0,
"LoadEndGroupDate": "2020-02-22T20:29:14.05",
"ItemId": 0,
"coursename": null,
"Setting": null,
"qqtoken": null,
"LastLoginDevice": 0,
"CustomVipType": 0,
"interest": null,
"PPUserID": 0,
"Locked": 0,
"intro": null,
"Question": null,
"childId": 0,
"SinaId": null,
"HomePage": null,
"Enddate": "2020-02-22T20:29:14.05",
"AppID": null,
"ZanCount": 0,
"pic": null,
"DepartId": 0,
"Score": 0,
"Mobile": "13585658632",
"LoginTimes": 0,
"CityID": 0,
"Money": "0.00",
"OrderDevice": 0,
"UserName": "tttttt2",
"Email": "",
"ProID": 0,
"IsAg": 0,
"space_name": "tttttt2",
"Sign": null,
"RndPassword": "5JKHM9PR0W3B83E",
"Salt": "KCPuGFkhrd7stqttCIyRF13D6o1aSoz2",
"JoinDate": "2020-02-22T20:29:14.033",
"WeiXinOpenID": null,
"agent": null,
"LoadType": 0
}
]
}</code></pre>
<p><strong>注册失败返回示例</strong></p>
<pre><code>{
"returnCode": 1003,
"result": false,
"msg": "对不起,用户名已存在"
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>