获取部门列表


    {
        "errno": 0,
        "errmsg": "ok",
        "data": {
            "count": "260",
            "department_list": [{
                "department_id": "244",
                "we_id": "1",
                "we_name": "办公逸",
                "we_parentid": "0",
                "rank": "0"
            }, {
                "department_id": "251",
                "we_id": "2",
                "we_name": "研发部",
                "we_parentid": "1",
                "rank": "200"
            }]
        }
    }

获取成员列表


    {
        "errno": 0,
        "errmsg": "ok",
        "data": {
            "count": "22",
            "staff_list": [{
                "staff_id": "11038",
                "we_email": "bin.wang-js@pcstars.com",
                "we_userid": "wangbin",
                "we_avatar": "https:\/\/shp.qpic.cn\/bizmp\/HmtU0JT3A9j57V95OBD2xLDWQDF5wkpWmH814ibgibVotr52s92aHrvg\/",
                "we_mobile": "",
                "we_tel": "",
                "we_department": "2",
                "we_gender": "1",
                "we_name": "王",
                "we_position": "",
                "we_status": "1",
                "we_weixinid": "t29879598"
            }, {
                "staff_id": "11039",
                "we_email": "jinyu.he@pcstars.com",
                "we_userid": "jinyu",
                "we_avatar": "https:\/\/shp.qpic.cn\/bizmp\/HmtU0JT3A9hXjCJV2b9o4gKECtGnb8seQ6w6iaVSOFBSvXGVNDd6pXw\/",
                "we_mobile": "18801442437",
                "we_tel": "",
                "we_department": "2,37",
                "we_gender": "1",
                "we_name": "何",
                "we_position": "123",
                "we_status": "1",
                "we_weixinid": "hjy930226173"
            }, {
                "staff_id": "11429",
                "we_email": "wenting.zhang@pcstars.com",
                "we_userid": "A1332",
                "we_avatar": "https:\/\/shp.qpic.cn\/bizmp\/HmtU0JT3A9gv2svKzzNZlKWzA4PepHcCxA4iaVMXFmCTIFW9nsLGPbg\/",
                "we_mobile": "15837829355",
                "we_tel": "",
                "we_department": "1,8,2",
                "we_gender": "2",
                "we_name": "张",
                "we_position": "研发工程师",
                "we_status": "1",
                "we_weixinid": "z15810449952"
            }]
        }
    }

新增&编辑成员


    {
        "errno": 0,
        "errmsg": "保存成功",
        "data": {
            "id": 535365 //员工id
        }
    }

删除成员


    {
        "errno": 0,
        "errmsg": "ok"
    }