Skip to main content

getStaffInfo:获取员工详情

入参

参数名称

是否必须

类型

描述

sKey

Y

String

令牌

accounts_id

Y

Int

账号ID

入参示例
{
    "c": "Dealers",
    "f":"getStaffInfo",
    "v":{
        "sKey":"d6eeb8243c589b7f5dc840b3a4c0a31a",
        "accounts_id": "8334307"
    }
}
返回参数

参数名称

类型

描述

rStatus

String

状态码 100:正常,其他:异常

message

String

运行信息

rData

Object

具体数据

rData

参数名称

类型

描述

accounts_id

String

账号ID

accounts_name

String

账号

staff_id

Int

员工ID

staff_type

Int

员工类型:

- salesman: 业务员

- boss: 老板

- indoorwork: 内勤

- driver: 司机

staff_name

String

员工名称

title

String

职位

branch_name

String

部门

accounts_mobile

String

手机号码

about

String

备注

role

String

角色

invite_code

String

邀请码

mobile

String

手机号码

email

String

邮箱

qq

String

QQ

update_date

String

更新时间

create_date

String

创建时间

返参示例 
{
    "rStatus": 100,
    "message": "获取员工详情",
    "rData": {
        "accounts_id": "8334307",
        "group_id_str": "",
        "accounts_name": "17600006524",
        "accounts_mobile": "17600006524",
        "staff_id": "139189",
        "staff_type": "indoorwork",
        "staff_name": "17600006524",
        "title": "",
        "branch_name": "",
        "about": "",
        "invite_code": "M792LP",
        "mobile": "17600006524",
        "email": "",
        "qq": "",
        "update_date": "2023-06-15 20:23:22",
        "create_date": "2020-04-27 15:57:29",
        "role": ""
    }
}