万车宝


查看微信信息

<h5>简要描述</h5> <ul> <li>查看绑定的微信信息</li> </ul> <h5>请求URL</h5> <ul> <li><code>/user/wechatInfo</code> </li> </ul> <h5>请求方式</h5> <ul> <li>get</li> </ul> <h5>成功返回示例</h5> <pre><code>{ &amp;quot;code&amp;quot;: 0, &amp;quot;data&amp;quot;: { &amp;quot;openId&amp;quot;: &amp;quot;OPENID&amp;quot;, &amp;quot;nickname&amp;quot;: &amp;quot;NICKNAME&amp;quot;, &amp;quot;sex&amp;quot;: 1, &amp;quot;province&amp;quot;: &amp;quot;PROVINCE&amp;quot;, &amp;quot;city&amp;quot;: &amp;quot;CITY&amp;quot;, &amp;quot;country&amp;quot;: &amp;quot;COUNTRY&amp;quot;, &amp;quot;headImg&amp;quot;: &amp;quot;https:\/\/thirdwx.qlogo.cn\/mmopen\/g3MonUZtNHkdmzicIlibx6iaFqAc56vxLSUfpb6n5WKSYVY0ChQKkiaJSgQ1dZuTOgvLLrhJbERQQ4eMsv84eavHiaiceqxibJxCfHe\/0&amp;quot;, &amp;quot;unionId&amp;quot;: &amp;quot; o6_bmasdasdsad6_2sgVt7hMZOPfL&amp;quot; }, &amp;quot;msg&amp;quot;: &amp;quot;success&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;">country</td> <td style="text-align: left;">String</td> <td>国家</td> </tr> <tr> <td style="text-align: left;">province</td> <td style="text-align: left;">String</td> <td>省份</td> </tr> <tr> <td style="text-align: left;">city</td> <td style="text-align: left;">String</td> <td>城市</td> </tr> <tr> <td style="text-align: left;">set</td> <td style="text-align: left;">Integer</td> <td>性别</td> </tr> <tr> <td style="text-align: left;">nickname</td> <td style="text-align: left;">String</td> <td>昵称</td> </tr> <tr> <td style="text-align: left;">headImg</td> <td style="text-align: left;">String</td> <td>头像</td> </tr> </tbody> </table> <h5>备注</h5> <p>未绑定微信,则提示用户先绑定微信</p>

页面列表

ITEM_HTML