wxhook

微信


二维码识别

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>二维码识别</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost:30001/QRCodeParse</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST</li> </ul> <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;">qrfilepath</td> <td style="text-align: left;">string</td> <td>要识别的二维码文件路径</td> </tr> </tbody> </table> <h5>发送示例</h5> <pre><code>  {     &amp;quot;qrfilepath&amp;quot;: &amp;quot;C:\\1.PNG&amp;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;">index</td> <td style="text-align: left;">string</td> <td>序号</td> </tr> <tr> <td style="text-align: left;">path</td> <td style="text-align: left;">string</td> <td>传入文件路径</td> </tr> <tr> <td style="text-align: left;">content</td> <td style="text-align: left;">string</td> <td>识别后的二维码内容</td> </tr> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">string</td> <td>二维码类型&lt;/br&gt;19=方形二维码&lt;/br&gt;22=圆形二维码</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ &amp;quot;qrcode&amp;quot;:[{ &amp;quot;index&amp;quot;:&amp;quot;1&amp;quot;, &amp;quot;path&amp;quot;:&amp;quot;C:\\1.PNG&amp;quot;, &amp;quot;content&amp;quot;:&amp;quot;二维码又称二维条码,常见的二维码为QR Code,QR全称Quick Response,是一种编码方式。它比传统的Bar Code条形码能存更多的信息,也能表示更多的数据类型。二维条码/二维码(2-dimensional bar code)是用某种特定的几何图形按一定规律在平面&amp;quot;, &amp;quot;type&amp;quot;:&amp;quot;19&amp;quot; }] }</code></pre> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML