获取验证码接口
<p><strong>接口说明 </strong></p>
<pre><code>请求接口: /base/app/user/code
请求方式: GET
接口说明: 获取验证码接口</code></pre>
<p><strong>请求参数 </strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>长度</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>phone</td>
<td>是</td>
<td>15</td>
<td>string</td>
<td>手机号</td>
</tr>
<tr>
<td>codeKey</td>
<td>是</td>
<td>32</td>
<td>string</td>
<td>请求验证码的随机code</td>
</tr>
<tr>
<td>code</td>
<td>是</td>
<td>4</td>
<td>string</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>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"code":"0000",
"msg":"success"
}</code></pre>