## 获取搜索索引
```
app('rpc.course')->call('apps.info.searchIndex',[]);
```
~~~[api]
apps.info.searchIndex
id=1
<<<
Array
{
"jsonrpc":"2.0",
"result":{
"courseList":[
{
"id":1,
"title":"认识图形(2)"
},
{
"id":2,
"title":"认识图形(3)"
},
],
"courseList":[
{
"packid":70,
"courseid":"2077"
},
],
"id":"ebd8b74533d14f7ff88cab3f157c45bc"
}
<<<
error
Array
(
[error] => Array
(
[code] => -32602
[message] => Invalid params
[data] =>
)
)
~~~