wxhook

微信


获取mp-A8Key

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>获取mp-A8Key</li> </ul> <h5>请求URL</h5> <ul> <li><a href="http://localhost:30001/MP_Geta8key">http://localhost:30001/MP_Geta8key</a></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 style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">url</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>传入网页地址</td> </tr> <tr> <td style="text-align: left;">value_2</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>序列2的值,默认为2,非必填</td> </tr> <tr> <td style="text-align: left;">value_10</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>序列10的值,默认为1,非必填 &lt;/br&gt;公众号授权=7 &lt;/br&gt;摄像头扫码=4 &lt;/br&gt;长按识别=30 &lt;/br&gt;执行JavaScript=15 &lt;/br&gt;普通A8KEY=1</td> </tr> <tr> <td style="text-align: left;">value_14</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>序列14的值,默认为0,非必填,获取公众号Code会用到</td> </tr> <tr> <td style="text-align: left;">value_18</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>序列18的值,默认为0,非必填 &lt;b&gt;二维码类型&lt;/b&gt; &lt;/br&gt;19=圆形太阳二维码 &lt;/br&gt;22=方形二维码</td> </tr> </tbody> </table> <h5>发送示例 1 获取搜一搜文章A8key</h5> <pre><code>  {     &amp;quot;url&amp;quot;: &amp;quot;http://open.weixin.qq.com/connect/oauth2/authorize?appid=wx7858699aca01b75f&amp;amp;redirect_uri=http://serviceimg.bmcc.com.cn/weixin/center/personalCenter.do&amp;amp;response_type=code&amp;amp;scope=snsapi_base&amp;amp;state=newCenterInfo#wechat_redirect&amp;quot;   }</code></pre> <h5>发送示例2 获取摄像头扫码A8Key</h5> <pre><code>{     &amp;quot;url&amp;quot;: &amp;quot;https://open.weixin.qq.com/connect/confirm?uuid=0319hs7y0gh2ll2y&amp;quot;,     &amp;quot;value_2&amp;quot;: &amp;quot;2&amp;quot;,     &amp;quot;value_10&amp;quot;: &amp;quot;4&amp;quot;,     &amp;quot;value_18&amp;quot;: &amp;quot;19&amp;quot; }</code></pre> <h5>发送示例3 获取公众号Code</h5> <pre><code>{     &amp;quot;url&amp;quot;: &amp;quot;https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx74d04e7c39330389&amp;amp;redirect_uri=http://xinbx.vip/center&amp;amp;response_type=code&amp;amp;scope=snsapi_base#wechat_redirect&amp;quot;,     &amp;quot;value_2&amp;quot;: &amp;quot;2&amp;quot;,     &amp;quot;value_10&amp;quot;: &amp;quot;0&amp;quot;,     &amp;quot;value_14&amp;quot;: &amp;quot;2&amp;quot;,     &amp;quot;value_18&amp;quot;: &amp;quot;0&amp;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>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">Access_Url</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>返回新网页访问地址</td> </tr> <tr> <td style="text-align: left;">Share_Url</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>返回新网页分享地址</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{     &amp;quot;Access_Url&amp;quot;: &amp;quot;https://mp.weixin.qq.com/s?__biz=MzI0MDI3OTg0MQ==&amp;amp;mid=2247484812&amp;amp;idx=1&amp;amp;sn=ff6ca897b2005948c611148b92c841f0&amp;amp;chksm=e91c0dc2de6b84d4f98795d6c4ccbc24c3b5c69af3130d0e633ec1e3457943356e371120b900&amp;amp;scene=7&amp;amp;key=0c3fa02021301511d36cfc3caad570a5bedf6c842aea5b3fe1364b8a0385379d439749e7c2eed63c4e4c6b86a9412477760a333811be6e4fa20f3c9f2d8ef7490dfbb5de96b654a590c15f01e11eac95126b8e2404e354503924183eeacaefcf8cf31a9d6db42e0d4ad450ac57832b6648e29f65537f11db4c69327bc7455ecf&amp;amp;ascene=1&amp;amp;uin=MTE0Mzc3NjgwNQ%3D%3D&amp;amp;devicetype=Windows+11+x64&amp;amp;version=6307062c&amp;amp;lang=zh_CN&amp;amp;exportkey=A%2Bx%2BHDFUEt0olMKeYlMMwdA%3D&amp;amp;acctmode=0&amp;amp;pass_ticket=7TOGJHLKst1jNIgUUoCnRkY%2F5CuHWqyZpsgFQx9630y5bHaT0mLkxIn7%2Bi26mt0T&amp;amp;wx_header=0&amp;quot;,     &amp;quot;Share_Url&amp;quot;: &amp;quot;https://mp.weixin.qq.com/s/R-K-DKsVOnmaZCbwKivG0Q&amp;quot; }</code></pre>

页面列表

ITEM_HTML