本地查询好友信息
<p><strong>简要描述:</strong></p>
<ul>
<li>本地查询好友信息</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>http://127.0.0.1:8989/api</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>JSON参数:</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">是否必选</th>
<th style="text-align: left;">类型</th>
<th style="text-align: left;">说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td style="text-align: left;">消息类型</td>
</tr>
<tr>
<td style="text-align: left;">wx_id</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td style="text-align: left;">好友的微信ID</td>
</tr>
</tbody>
</table>
<p><strong>发送示例:</strong></p>
<pre><code class="language-json">{
&quot;type&quot;: 19,
&quot;wx_id&quot;: &quot;wxid_xxx&quot;
}</code></pre>
<p><strong>返回示例:</strong></p>
<pre><code class="language-json">{
&quot;data&quot;: {
&quot;wx_id&quot;: &quot;wxid_xxx&quot;, // 微信ID
&quot;wx_account&quot;: &quot;xxx&quot;, // 微信账号
&quot;nick_name&quot;: &quot;张三&quot;, // 昵称
&quot;remark&quot;: &quot;张三【欠我100块】&quot;, // 备注
&quot;desc&quot;: &quot;欠钱不换的老赖&quot;, // 描述信息
&quot;avatar_url&quot;: &quot;http://xxxxxx&quot; // 头像地址
},
&quot;errmsg&quot;: &quot;OK&quot;,
&quot;errno&quot;: 0
}</code></pre>