皇甲特卫

皇甲特卫


消息列表

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>消息列表</li> </ul> <h5>请求URL</h5> <ul> <li><code>/api/user/head_msg_list</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <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>页码</td> </tr> <tr> <td style="text-align: left;">limit</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>每页条数</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> {     "code": 1,     "msg": "获取成功",     "data": {         "total": 8,         "per_page": 20,         "current_page": 1,         "last_page": 1,         "data": [             {                 "id": 1,                 "action_id": 5,                 "user_id": 8,                 "is_read": 1,                 "type": 3,                 "created_time": 1656485486,                 "type_name": "事假",                 "start_time": "2022-06-29 00:00",                 "end_time": "2022-06-30 00:00",                 "user_name": "谢洪波",                 "status": 3             },             {                 "id": 3,                 "action_id": 2,                 "user_id": 8,                 "is_read": 1,                 "type": 4,                 "created_time": 1656487045,                 "duration": 16,                 "start_time": "2022-06-29 00:00",                 "end_time": "2022-06-30 00:00",                 "user_name": "谢洪波",                 "status": 1             },             {                 "id": 4,                 "action_id": 2,                 "user_id": 8,                 "is_read": 1,                 "type": 5,                 "created_time": 1656487452,                 "duration": 16,                 "start_time": "2022-06-29 00:00",                 "end_time": "2022-06-30 00:00",                 "user_name": "谢洪波",                 "status": 1             },             {                 "id": 5,                 "action_id": 2,                 "user_id": 8,                 "is_read": 1,                 "type": 6,                 "created_time": 1656488292,                 "reason": "ssssss",                 "date_time": "2022-06-30 00:00",                 "user_name": "谢洪波",                 "status": 1             },             {                 "id": 6,                 "action_id": 2,                 "user_id": 8,                 "is_read": 1,                 "type": 7,                 "created_time": 1656489029,                 "assubstitute_user_name": "唐平均",                 "user_name": "谢洪波",                 "date_time": "2022-06-29 00:00",                 "status": 1             },             {                 "id": 7,                 "action_id": 3,                 "user_id": 8,                 "is_read": 1,                 "type": 7,                 "created_time": 1656555314,                 "assubstitute_user_name": "乔林波",                 "user_name": "谢洪波",                 "date_time": "2022-07-01 00:00",                 "status": 1             },             {                 "id": 8,                 "action_id": 1,                 "user_id": 8,                 "is_read": 1,                 "type": 1,                 "created_time": "11:01",                 "user_name": "袁文献",                 "header": "http://cbs.com/pic/414.jpg"             },             {                 "id": 9,                 "action_id": 1,                 "user_id": 8,                 "is_read": 1,                 "type": 2,                 "created_time": "2022-07-01 11:27",                 "title": "平台消息"             }         ]     },     "ext": [] }</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;">type</td> <td style="text-align: left;">int</td> <td>1-&gt;通话 2-&gt;平台 3-&gt;请假审批 4-&gt;外出审批 5-&gt;加班 6-&gt;补卡审批 7-&gt;换班审批 8-&gt;工作</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML