vworkApi


本地查询好友信息

<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;">user_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">{     &amp;quot;type&amp;quot;: 4007,     &amp;quot;user_id&amp;quot;: &amp;quot;788xxx&amp;quot; }</code></pre> <p><strong>返回示例:</strong></p> <pre><code class="language-json">{ &amp;quot;data&amp;quot;: { &amp;quot;add_time&amp;quot;: &amp;quot;1619799671&amp;quot;, //添加时间 &amp;quot;avatar_url&amp;quot;: &amp;quot;https://thirdwx.qlogo.cn/mmopen/vi_32/xxx/0&amp;quot;, //头像地址 &amp;quot;corp_id&amp;quot;: &amp;quot;197xxx&amp;quot;, //公司ID &amp;quot;corp_name&amp;quot;: &amp;quot;xxx有限公司&amp;quot;, //公司全称 &amp;quot;corp_remark&amp;quot;: &amp;quot;备注-XXX公司&amp;quot;, //公司备注 &amp;quot;corp_short_name&amp;quot;: &amp;quot;xxx&amp;quot;, //公司简称 &amp;quot;dept_id&amp;quot;: &amp;quot;168xxx&amp;quot;, //部门ID &amp;quot;dept_name&amp;quot;: &amp;quot;打杂部&amp;quot;, //部门名称 &amp;quot;desc&amp;quot;: &amp;quot;我是描述信息&amp;quot;, //描述 &amp;quot;mobile&amp;quot;: &amp;quot;13800000000&amp;quot;, //手机号 &amp;quot;nick_name&amp;quot;: &amp;quot;三水君&amp;quot;, //昵称 &amp;quot;position&amp;quot;: &amp;quot;CEO&amp;quot;, //职位 &amp;quot;real_name&amp;quot;: &amp;quot;xxx&amp;quot;, //真实姓名 &amp;quot;remark&amp;quot;: &amp;quot;我是备注&amp;quot;, //备注 &amp;quot;remark_phone_list&amp;quot;: [ //备注电话列表 &amp;quot;13800000000&amp;quot;, &amp;quot;13900000000&amp;quot; ], &amp;quot;sex&amp;quot;: &amp;quot;1&amp;quot;, //性别 0:未设置 1:男 2:女 &amp;quot;user_id&amp;quot;: &amp;quot;168xxx&amp;quot; //用户ID }, &amp;quot;errmsg&amp;quot;: &amp;quot;OK&amp;quot;, &amp;quot;errno&amp;quot;: 0 }</code></pre>

页面列表

ITEM_HTML