修改人员数据
接口地址:/employee/mng
请求方式 get
参数:
eid: 要查看的erp用户的id(即employee_id)
返回格式:
roles的status 为1表示已有该权限,为0表示没有
{
"code": 1,
"data": {
"phone": "13588138822",
"name": "丁冰",
"roles": [
{
"rid": 3,
"name": "总部会员运营",
"actions": [
{
"act_id": 3,
"name": "《用户管理》-《会员管理》-新增"
},
{
"act_id": 4,
"name": "《用户管理》-《课程管理》-查询"
}
],
"status": 1
},
{
"rid": 5,
"name": "总部课程运营",
"actions": [
{
"act_id": 3,
"name": "《用户管理》-《会员管理》-新增"
},
{
"act_id": 4,
"name": "《用户管理》-《课程管理》-查询"
}
],
"status": 0
}
]
},
"msg": "success"
}Last updated
Was this helpful?