公众号接口

公众号接口


根据code获取openId

<h2>根据code获取openId</h2> <p><strong>简要描述:</strong> </p> <ul> <li>根据code获取openId</li> </ul> <p><strong>请求URL:</strong> <code>/wxAuth/access_token?code=123</code></p> <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>微信code</td> </tr> </tbody> </table> <p><strong>请求示例</strong></p> <pre><code></code></pre> <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;">openid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "msg": "success", "code": 0, "openid": "123", } </code></pre> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <ol> <li> <ol> <li> </li> </ol> </li> </ol>

页面列表

ITEM_HTML