文档
测试

getUserReasons

GET
User/getUserReasons/(:id)/(:page)

接口描述

获取员工列表

请求参数

参数名
类型
描述
必填
token
string
token
必填

响应参数

参数名
类型
描述
必填
0
object
数据字典
必填
id
string
示例:1
必填
reason
object
示例:null
必填

说明 / 示例

返回员工的外出缘由及对应id的列表数据 一页默认返回十条缘由信息 ```json [ { "id": "1", "reason": null }, { "id": "2", "reason": "洗手间" }, { "id": "3", "reason": null }, { "id": "11", "reason": null }, { "id": "14", "reason": null }, { "id": "15", "reason": null }, { "id": "16", "reason": null }, { "id": "19", "reason": "签到" }, { "id": "26", "reason": "未知" }, { "id": "27", "reason": "签到" } ] ```