用户授权手机号登录
<p><strong>简要描述:</strong> </p>
<ul>
<li>用户授权手机号登录接口</li>
</ul>
<p><strong>请求URL(发送验证码):</strong> </p>
<ul>
<li><code>https://srmplat.tingyun.work/api/app/wxlogin</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>Post</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;">code</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>获取手机号code</td>
</tr>
<tr>
<td style="text-align: left;">wxLoginCode</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>微信用户授权登录code</td>
</tr>
<tr>
<td style="text-align: left;">encryptedData</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>encryptedData</td>
</tr>
<tr>
<td style="text-align: left;">iv</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>iv</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;statusCode&quot;: 200,
&quot;data&quot;: {
&quot;token&quot;: &quot;eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiIxMCIsIlVzZXJOYW1lIjoiMTU1MzgwMzgyNzEiLCJpYXQiOiIxNzI0NDk0NDAyIiwibmJmIjoiMTcyNDQ5NDQwMiIsImV4cCI6MTcyNDU0MjQwMiwiaXNzIjoiVHkuR2lhbnRQb3J0LkFwaSIsImF1ZCI6WyJDbXMiLCJDbXMiXSwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIjoiQXBwIn0.IJc-3D_3puJ9qm75_P2H3IkOeJcZxMc5d8BWvZTukNk&quot;,
&quot;info&quot;: {
&quot;id&quot;: 10,
&quot;name&quot;: &quot;15538038271&quot;,
&quot;phone&quot;: &quot;15538038271&quot;,
&quot;orgStatus&quot;: -1,
&quot;created_at&quot;: &quot;2025-01-16 17:40:26&quot;,
&quot;orgName&quot;: null,
&quot;orgTel&quot;: null,
&quot;orgEmail&quot;: null,
&quot;orgWebSite&quot;: null
}
},
&quot;msg&quot;: &quot;登录成功&quot;
}</code></pre>