获取微信登录二维码
<pre><code class="language-text">获取微信登录二维码</code></pre>
<h4>接口状态</h4>
<blockquote>
<p>已完成</p>
</blockquote>
<h4>接口URL</h4>
<blockquote>
<p><a href="http://192.168.2.103:8000/api/wx/qrimg">http://192.168.2.103:8000/api/wx/qrimg</a></p>
</blockquote>
<h4>请求方式</h4>
<blockquote>
<p>GET</p>
</blockquote>
<h4>Content-Type</h4>
<blockquote>
<p>none</p>
</blockquote>
<h4>预执行脚本</h4>
<pre><code class="language-javascript">暂无预执行脚本</code></pre>
<h4>后执行脚本</h4>
<pre><code class="language-javascript">暂无后执行脚本</code></pre>
<h4>成功响应示例</h4>
<pre><code class="language-javascript">{
"resCode": 0,
"resMsg": "success",
"data": {
"url": "https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQGn8DwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyMUdoZUpXMkJkWEYxRzFZQWh3Y18AAgQCa6NgAwSAUQEA",
"weChatFlag": "cee603b9127c68d0bec7c88ce604f4e1"
}
}</code></pre>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>resCode</td>
<td>0</td>
<td>Text</td>
</tr>
<tr>
<td>resMsg</td>
<td>success</td>
<td>Text</td>
</tr>
<tr>
<td>data</td>
<td></td>
<td>Text</td>
<td>返回数据</td>
</tr>
<tr>
<td>data.url</td>
<td><a href="https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQGn8DwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyMUdoZUpXMkJkWEYxRzFZQWh3Y18AAgQCa6NgAwSAUQEA">https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQGn8DwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyMUdoZUpXMkJkWEYxRzFZQWh3Y18AAgQCa6NgAwSAUQEA</a></td>
<td>Text</td>
</tr>
<tr>
<td>data.weChatFlag</td>
<td>cee603b9127c68d0bec7c88ce604f4e1</td>
<td>Text</td>
</tr>
</tbody>
</table>