05-获取手机验证码
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取手机验证码接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>${访问地址}/api/common/getCode</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST & 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;">username</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>手机号</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"msg": "验证码发送成功!",
"code": 200,
"data": null
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<p>其他参数的更详细说明,请参见 <code>数据返回格式说明</code></p>