账号注册接口(带手机号)
<h4>账号注册接口(带手机号)</h4>
<pre><code>url: /base/app/user/regaccount
请求方式: POST
说明: 账号注册接口(带手机号)</code></pre>
<p>入参参数说明:</p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>username</td>
<td>是</td>
<td>String(32)</td>
<td>用户名</td>
</tr>
<tr>
<td>password</td>
<td>是</td>
<td>String</td>
<td>密码</td>
</tr>
<tr>
<td>phone</td>
<td>是</td>
<td>String(20)</td>
<td>手机号</td>
</tr>
<tr>
<td>code</td>
<td>是</td>
<td>String(6)</td>
<td>验证码</td>
</tr>
</tbody>
</table>
<p><strong>返回参数说明</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>String</td>
<td>状态值</td>
</tr>
<tr>
<td>msg</td>
<td>String</td>
<td>返回消息</td>
</tr>
<tr>
<td>data</td>
<td>String</td>
<td>返回的token</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code":"0000",
"msg":"success",
"data":{
"token":"token111"
}
}</code></pre>