简要描述:

  • 查找企业员工

请求域名:

  • http://xx.com

请求URL:

xx.com/business/{公众号id}/admin/searchStaff

参数:

参数名 是否必须 类型 说明
kwd string 员工姓名或手机号,模糊查询
is_qy_wx int 是否只查询绑定了企业微信的员工 1是 0不是
disabled int 是否显示禁用员工 1显示 0不显示

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "成功",
    "data": [
        {
            "id": 34,
            "uniacid": 1,
            "business_id": 1,
            "uid": 5,
            "user_id": "XUJIAJIAN2XUJIAJIAN2X_1631087200",
            "name": "许家健233",
            "mobile": "13711106018",
            "position": "php程序员",
            "gender": 1,
            "telephone": "10086",
            "email": "10086@qq.com",
            "avatar": "",
            "alias": "xu",
            "status": 4,
            "qr_code": "https://open.work.weixin.qq.com/wwopen/userQRCode?vcode=vcae7f6ec216ab8772",
            "address": "汇创意产业园",
            "open_userid": "1_XUJIAJIAN2XUJIAJIAN2X_1631087200",
            "main_department": "2",
            "updated_at": "2021-09-23 14:23:50",
            "created_at": "2021-09-08 16:59:26",
            "deleted_at": null,
            "right_type": 0,
            "disabled": 0,
            "gender_desc": "男",
            "status_desc": "未激活"
        }
    ]
}

错误时返回:

  {
  }

返回参数说明:

参数名 类型 说明
名称 类型 说明

|||