逛逛

逛逛App


列表

<p><strong>简要描述:</strong> </p> <ul> <li>列表</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>/admin/notice_list</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;">page</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>页数 默认1</td> </tr> <tr> <td style="text-align: left;">size</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>显示数量 默认20</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "code": 0, "msg": "返回成功", "time": 1582612364, "data": { "total": 1, "per_page": 20, "current_page": 1, "last_page": 1, "data": [ { "notice_id": 10, "title": "测试",//标题 "cover": "http://md-juhe.o",//封面 "url": "www.baidu.com",//跳转链接 "content": "今日暂停服务",//内容 "author": "kingsley",//作者 "push_status":0未推送 1已推送 "status":1正常 0已过期 "type": 1活动优惠 2平台公告 "create_time": null } ] } }</code></pre>

页面列表

ITEM_HTML