文档
测试

获取当前登录人的下属人员信息

GET
http://192.168.0.7:8086/supervision/relation/leaderId/{leaderId}

接口描述

http://192.168.0.7:8086/supervision/relation/leaderId/286970758874 该用户为admin用户 有数据

响应参数

参数名
类型
描述
必填
code
string
示例:0
必填
result
array
数据列表
必填
createdTime
string
示例:2020-09-27T16:04:12.000+08:00
必填
createdBy
object
示例:null
必填
updatedTime
string
示例:2020-09-27T16:04:12.000+08:00
必填
updatedBy
object
示例:null
必填
version
int
示例:0
必填
status
boolean
示例:true
必填
id
int
示例:1
必填
userId
int
示例:297049216315
必填
username
string
示例:sangjunyi
必填
leaderId
int
示例:286970758874
必填
roleName
string
示例:巡检人员
必填
status
int
示例:200
必填
timestamp
int
示例:1601194479296
必填

说明 / 示例

{ "code": "0", "result": [ { "createdTime": "2020-09-27T16:04:12.000+08:00", "createdBy": null, "updatedTime": "2020-09-27T16:04:12.000+08:00", "updatedBy": null, "version": 0, "status": true, "id": 1, "userId": 297049216315, "username": "sangjunyi", "leaderId": 286970758874, "roleName": "巡检人员" }, { "createdTime": "2020-09-27T16:04:48.000+08:00", "createdBy": null, "updatedTime": "2020-09-27T16:04:48.000+08:00", "updatedBy": null, "version": 0, "status": true, "id": 2, "userId": 296958128132, "username": "dinghao", "leaderId": 286970758874, "roleName": "巡检人员" }, { "createdTime": "2020-09-27T16:04:59.000+08:00", "createdBy": null, "updatedTime": "2020-09-27T16:04:59.000+08:00", "updatedBy": null, "version": 0, "status": true, "id": 3, "userId": 296970758874, "username": "yuanhua", "leaderId": 286970758874, "roleName": "巡检人员" } ], "status": 200, "timestamp": 1601194479296 }