活动api


生成永久二维码

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>生成永久二维码</li> </ul> <h5>请求URL</h5> <ul> <li><code>https://guide-api-test.feihe.com/activity-wechat/api/wxWeChat/createPerQrCode</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> <li>格式 <pre><code class="language-json">{ "sceneStr":"eyJzZXJpYWwiOiIwNTg5N0MwMDBld3I0IiwiY29kZV90eXBlIjoidnMifQ==" }</code></pre></li> </ul> <h5>参数</h5> <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;">sceneStr</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>二维码参数</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "ticket":"gQHH8DwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyeS1NdUJaUEpmdTIxMDAwMHcwN0MAAgQvKetiAwQAAAAA", "url":"http://weixin.qq.com/q/02y-MuBZPJfu210000w07C" }</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;">ticket</td> <td style="text-align: left;">string</td> <td>取码票据</td> </tr> <tr> <td style="text-align: left;">url</td> <td style="text-align: left;">string</td> <td>二维码实际地址</td> </tr> </tbody> </table> <h5>备注</h5> <h6>1.使用方式</h6> <ul> <li> <p>二维码链接前缀 <code>https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=TICKET</code></p> </li> <li>TICKET替换成返回中的ticket </li> </ul> <h6>2.微信生成二维码详细限制</h6> <ul> <li> <p>官方文档 <a href="https://developers.weixin.qq.com/doc/offiaccount/Account_Management/Generating_a_Parametric_QR_Code.html" title="微信生成临时二维码">微信生成临时二维码</a></p> </li> <li>更多返回错误代码请看微信的错误代码描述</li> </ul> <h1>改造计划</h1> <p>1、增加生成日志入库</p>

页面列表

ITEM_HTML