注册接口
<p><strong>简要描述:</strong> </p>
<ul>
<li>注册接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://106.15.251.200:8686/legal/user/regist</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>参数:</strong> </p>
<pre><code> {
"email":"",
"userName":"",
"phone":"18895321218",
"wechatCode":"",
"password":"123456",
"repPassword":"123456",
"code":"962291",
"type":"1"
}</code></pre>
<p>在使用 phone 或者 email 注册的时候 ,userName可以传也可以不传(看需求)</p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">String</td>
<td>1:手机 ; 2:邮箱</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
"status": "1",
"msg": "success",
"data": "success"
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">int</td>
<td>状态id, 1:成功 0:失败</td>
</tr>
<tr>
<td style="text-align: left;">msg</td>
<td style="text-align: left;">String</td>
<td>信息</td>
</tr>
<tr>
<td style="text-align: left;">data</td>
<td style="text-align: left;">Object</td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>
<p>欢迎使用ShowDoc!</p>