获取验证码
<p><strong>简要描述:</strong></p>
<ul>
<li>获取验证码接口</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>http://xx.com/sms/getVerificationCode</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST Content-Type: application/json;charset=utf-8</li>
</ul>
<p><strong>说明:</strong></p>
<ul>
<li>验证码有效期 10分钟</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;">oid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户认证密钥</td>
</tr>
<tr>
<td style="text-align: left;">mobile_phone</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>手机号(11位手机号)</td>
</tr>
<tr>
<td style="text-align: left;">type_code</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>0 绑定手机号,1 更换手机号,2 支付密码更改,3 登录密码更改,4 解除手机号</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;code&quot;:1,
&quot;msg&quot;:2006,
&quot;info&quot;:&quot;已发送短信&quot;
}</code></pre>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>