迅鸣物联网

迅鸣物联网项目


微信登录接口

<p><strong>简要描述:</strong> </p> <ul> <li>该接口用于用户直接扫码登录iot平台,扫码后前端携微信规定参数请求<code>https://open.weixin.qq.com/connect/oauth2/authorize?</code>这个地址,从返回结果中获取唯一code发送给后端</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>https://iot.xunmingiot.com/config/wechatLogin/</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET </li> </ul> <p><strong>参数:</strong> </p> <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;">code</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>微信唯一参数</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>重定向到登录页</code></pre> <p><strong>备注</strong> </p> <ul> <li>code获取参考地址:<a href="https://developers.weixin.qq.com/community/develop/doc/000a625c448de85ebe1ac450751800">https://developers.weixin.qq.com/community/develop/doc/000a625c448de85ebe1ac450751800</a></li> </ul>

页面列表

ITEM_HTML