请求例子:
apirq('position/:id', {
data: {
"id": 50
},
urlparams: [
"id"
]
})
返回数据结果:
{
"code": 0,
"msg": "ok",
"time": "1523599661",
"data": {
"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": "天天向上机构管理部门"
}
}
}