请求例子:
apirq('position', {
data: {
"dp_type": 3,
"dp_id": "05d48fa8743570b0"
}
})
返回数据结果:
{
"code": 0,
"msg": "ok",
"time": "1523599225",
"data": {
"page": 1,
"row": 15,
"count": 3,
"total_count": 3,
"total_page": 1,
"lists": [
{
"id": 50,
"dpmt_id": 44,
"create_time": "2018-03-27 13:27:06",
"create_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"update_time": "2018-03-27 13:27:06",
"update_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"status": 1,
"bandel": 0,
"name": "部管",
"description": "天天向上默认部门管理部管理员",
"dpinfo": {
"id": 44,
"dp_type": 3,
"dp_id": "05d48fa8743570b0",
"pid": 0,
"status": 1,
"bandel": 0,
"create_time": "2018-03-27 13:27:06",
"create_by": "0000000000000101",
"update_time": "2018-03-27 13:27:06",
"update_by": "0000000000000101",
"name": "管理部",
"description": "天天向上机构管理部门"
}
},
{
"id": 51,
"dpmt_id": 45,
"create_time": "2018-03-27 13:27:07",
"create_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"update_time": "2018-03-27 13:27:07",
"update_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"status": 1,
"bandel": 0,
"name": "部管",
"description": "天天向上默认部门财务部管理员",
"dpinfo": {
"id": 45,
"dp_type": 3,
"dp_id": "05d48fa8743570b0",
"pid": 0,
"status": 1,
"bandel": 0,
"create_time": "2018-03-27 13:27:07",
"create_by": "0000000000000101",
"update_time": "2018-03-27 13:27:07",
"update_by": "0000000000000101",
"name": "财务部",
"description": "天天向上机构财务部门"
}
},
{
"id": 52,
"dpmt_id": 46,
"create_time": "2018-03-27 13:27:07",
"create_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"update_time": "2018-03-27 13:27:07",
"update_by": {
"uid": "0000000000000101",
"code": "U4219695",
"username": "admin@cw",
"nickname": "系统内建财务员",
"realname": "系统内建财务员"
},
"status": 1,
"bandel": 0,
"name": "部管",
"description": "天天向上默认部门运营部管理员",
"dpinfo": {
"id": 46,
"dp_type": 3,
"dp_id": "05d48fa8743570b0",
"pid": 0,
"status": 1,
"bandel": 0,
"create_time": "2018-03-27 13:27:07",
"create_by": "0000000000000101",
"update_time": "2018-03-27 13:27:07",
"update_by": "0000000000000101",
"name": "运营部",
"description": "天天向上机构运营部门"
}
}
]
}
}