更新首页群聊框
<p><strong>简要描述:</strong> </p>
<ul>
<li>首页群聊页面5s发送一次ajax请求,来更新数据</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://www.datauuu.com/group/getGroupInfo</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;">userGuid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户唯一guid</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code> {
&quot;error_code&quot;: 0,
&quot;error_msg&quot;: 0,
&quot;data&quot;: {
&quot;group&quot;: [
{group对象信息1,&quot;unreadNum&quot;:&quot;13&quot;,最后msg对象1},
{group对象信息2,&quot;unreadNum&quot;:&quot;4&quot;,最后msg对象1},
{group对象信息3,&quot;unreadNum&quot;:&quot;22&quot;,最后msg对象1}
]
}
}</code></pre>
<p><strong>返回参数说明</strong> </p>
<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;">group</td>
<td style="text-align: left;">list<></td>
<td>群聊框信息集合</td>
</tr>
</tbody>
</table>
<p><strong>流程图</strong> </p>
<p><img src="https://www.showdoc.cc/home/common/visitfile/sign/26886601b45f6e314fd76d0e0a294f65?showdoc=.jpg" alt="" /></p>