【13】取登录二维码
<p>[TOC]</p>
<h5>接口状态</h5>
<ul>
<li><code>正常</code></li>
</ul>
<h5>框架版本</h5>
<ul>
<li><code>≥ 2.0.5.0</code></li>
</ul>
<h5>更新时间</h5>
<ul>
<li><code>2024/12/16</code></li>
</ul>
<h5>调用额度</h5>
<ul>
<li><code>免额度</code></li>
</ul>
<h5>简要描述</h5>
<ul>
<li>取登录二维码</li>
</ul>
<h5>DLL调用例子</h5>
<pre><code>Cookie_GetQRcode ()</code></pre>
<h5>易语言模块调用例子</h5>
<pre><code>SaiNiu.Cookie.取登录二维码()</code></pre>
<h5>POST调用例子</h5>
<pre><code>http://127.0.0.1:3030/SaiNiuApi/Cookie</code></pre>
<pre><code>&amp;post=GetQRcode&amp;data={&quot;ip&quot;:&quot;&quot;}</code></pre>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<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;">ip</td>
<td style="text-align: left;">文本型</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">外网代理ip,留空不使用代理</td>
<td>127.0.0.0:8080</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{&quot;adToken&quot;:&quot;45dbd670536ab25145e5c1bb4cad6d4a&quot;,&quot;success&quot;:true,&quot;lgToken&quot;:&quot;8ef9c6b1044c6e777a516ad64d7444ec&quot;,&quot;message&quot;:&quot;&quot;,&quot;url&quot;:&quot;//img.alicdn.com/imgextra/O1CN018ocsvl2Ij4ka31Y3j_!!9321-2-xcode.png&quot;}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">adToken</td>
<td style="text-align: left;">文本型</td>
<td>用途未知</td>
</tr>
<tr>
<td style="text-align: left;">success</td>
<td style="text-align: left;">逻辑型</td>
<td>结果说明</td>
</tr>
<tr>
<td style="text-align: left;">lgToken</td>
<td style="text-align: left;">文本型</td>
<td>状态轮询id</td>
</tr>
<tr>
<td style="text-align: left;">message</td>
<td style="text-align: left;">文本型</td>
<td>失败说明,成功为空</td>
</tr>
<tr>
<td style="text-align: left;">url</td>
<td style="text-align: left;">文本型</td>
<td>二维码地址,记得补足https:</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>