绑定手机
<p>[TOC]</p>
<h4>绑定手机</h4>
<h5>请求URL</h5>
<ul>
<li><code>v1/user/bindWchatMobile</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST</li>
</ul>
<h5>请求Header参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数位置</th>
<th>类型</th>
<th>是否必选</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>token</td>
<td>header</td>
<td>string</td>
<td>否</td>
<td>-</td>
</tr>
</tbody>
</table>
<h5>请求Body参数</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数位置</th>
<th>类型</th>
<th>是否必选</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>state</td>
<td>body</td>
<td>string</td>
<td>是</td>
<td>绑定方式,默认微信,微信:miniapp,支付宝:alipay,短信:sms</td>
</tr>
<tr>
<td>code</td>
<td>body</td>
<td>string</td>
<td>是</td>
<td>对应code</td>
</tr>
<tr>
<td>mobile</td>
<td>body</td>
<td>string</td>
<td>是</td>
<td>手机号码</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code class="language-json">{
&quot;success&quot;: true,
&quot;code&quot;: 200,
&quot;data&quot;: [
{
&quot;mobile&quot;: &quot;17606036160&quot;
}
]
}</code></pre>