public function getDepartmentUsers(int $departmentId, bool $fetchChild = false)
    {
        $params = [
            'department_id' => $departmentId,
            'fetch_child' => (int) $fetchChild,
        ];

        return $this->httpGet('cgi-bin/user/simplelist', $params);
    }
public function getDepartmentUsers(int $departmentId, bool $fetchChild = false)
    {
        $params = [
            'department_id' => $departmentId,
            'fetch_child' => (int) $fetchChild,
        ];

        return $this->httpGet('cgi-bin/user/simplelist', $params);
    }
public function getDepartmentUsers ( int $ departmentId , bool $ fetchChild = false ) { $ params = [ 'department_id' => $ departmentId , 'fetch_child' => ( int ) $ fetchChild , ] ; return $ this -> httpGet ( 'cgi-bin/user/simplelist' , $ params ) ; }
Get simple user list.

@param int  $departmentId
@param bool $fetchChild

@return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string
Get simple user list .