金鱼网


用户端消息列表接口

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>用户端消息列表接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://api.magicalday.cn/me/NoticeList</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <p>无</p> <h5>返回示例</h5> <pre><code>{     &amp;quot;code&amp;quot;:0,     &amp;quot;msg&amp;quot;:&amp;quot;&amp;quot;,     &amp;quot;count&amp;quot;:0,     &amp;quot;data&amp;quot;:{         &amp;quot;list&amp;quot;:[             {                 &amp;quot;notice_id&amp;quot;:&amp;quot;4&amp;quot;,                 &amp;quot;title&amp;quot;:&amp;quot;第四个消息&amp;quot;,                 &amp;quot;content&amp;quot;:&amp;quot;阿斯拉达开房间&amp;quot;,                 &amp;quot;is_read&amp;quot;:&amp;quot;0&amp;quot;,                 &amp;quot;create_time&amp;quot;:&amp;quot;0&amp;quot;             },             {                 &amp;quot;notice_id&amp;quot;:&amp;quot;3&amp;quot;,                 &amp;quot;title&amp;quot;:&amp;quot;第三个测试消息&amp;quot;,                 &amp;quot;content&amp;quot;:&amp;quot;测试内容第三个&amp;quot;,                 &amp;quot;is_read&amp;quot;:&amp;quot;0&amp;quot;,                 &amp;quot;create_time&amp;quot;:&amp;quot;0&amp;quot;             },             {                 &amp;quot;notice_id&amp;quot;:&amp;quot;2&amp;quot;,                 &amp;quot;title&amp;quot;:&amp;quot;第二个测试消息标题&amp;quot;,                 &amp;quot;content&amp;quot;:&amp;quot;测试内容第二条&amp;quot;,                 &amp;quot;is_read&amp;quot;:&amp;quot;0&amp;quot;,                 &amp;quot;create_time&amp;quot;:&amp;quot;0&amp;quot;             },             {                 &amp;quot;notice_id&amp;quot;:&amp;quot;1&amp;quot;,                 &amp;quot;title&amp;quot;:&amp;quot;这是一个测试消息&amp;quot;,                 &amp;quot;content&amp;quot;:&amp;quot;这是测试消息的内容&amp;quot;,                 &amp;quot;is_read&amp;quot;:&amp;quot;0&amp;quot;,                 &amp;quot;create_time&amp;quot;:&amp;quot;0&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;">notice_id</td> <td style="text-align: left;">int</td> <td>消息id</td> </tr> <tr> <td style="text-align: left;">title</td> <td style="text-align: left;">string</td> <td>消息标题</td> </tr> <tr> <td style="text-align: left;">content</td> <td style="text-align: left;">string</td> <td>消息内容,列表中的会是截取前N个字</td> </tr> <tr> <td style="text-align: left;">is_read</td> <td style="text-align: left;">int</td> <td>是否已读:0未读、1已读</td> </tr> <tr> <td style="text-align: left;">create_time</td> <td style="text-align: left;">int</td> <td>消息创建时间戳</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML