添加获取capibility的接口，测试OK