聊天室 -- 红包规则获取
<p><strong>简要描述:</strong></p>
<p>-聊天室发红包</p>
<p><strong>URL</strong></p>
<ul>
<li><code>http://xx.com/chatFunction/getUserChatRoomInfoList</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST Content-Type: application/json;charset=utf-8</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;">oid</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>用户在线oid</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code>{
&quot;oid&quot;:&quot;2d79a59e710c9766ab515543c25dc14d&quot;,
}</code></pre>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: 0,
&quot;msg&quot;: 2006,
&quot;data&quot;: [
{
&quot;mDate&quot;: 2, //计算打码量天数
&quot;cDate&quot;: 2, //计算存款天数
&quot;mNumber&quot;: 3000, //打码量
&quot;cNumber&quot;: 3000, //存款
&quot;useradddate&quot;: 0, //会员注册日期天数,在系统注册的日期大于等于设置的天数的会员才能参与
&quot;lcurrency&quot;: 800, //会员总金额
&quot;redP&quot;: 20, //获得金额
&quot;adddate&quot;: &quot;2018-07-10 17:30:05&quot;, //添加时间
&quot;userid&quot;: &quot;24023&quot;, //添加这条规则的会员id
&quot;infoid&quot;: 0 //规则id
},
{
&quot;mDate&quot;: 3,
&quot;cDate&quot;: 3,
&quot;mNumber&quot;: 1000,
&quot;cNumber&quot;: 1000,
&quot;useradddate&quot;: 2,
&quot;lcurrency&quot;: 800,
&quot;redP&quot;: 20,
&quot;userid&quot;: &quot;24023&quot;,
&quot;adddate&quot;: &quot;2018-07-10 17:35:05&quot;,
&quot;infoid&quot;: 1
}, ...
]
}</code></pre>
<p>失败的情况:</p>
<pre><code>{
&quot;code&quot;: 1,
&quot;msg&quot;: 7001,
&quot;info&quot;: &quot;您的账号权限不足,请联系客服管理员申请添加&quot; //失败原因
}</code></pre>
<p><strong>备注</strong></p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>