## 获取正在直播的课程列表
```
app('rpc.course')->call('apps.info.getLiveByCourseIdList',[$courseIdList = [1,2,3,4], $cid = 2]);
```
~~~[api]
apps.info.getLiveByCourseIdList
id=1
<<<
Array
{
"jsonrpc":"2.0",
"result":[
{
"id":1,
"grade":1,
"cid":2,
"gid":1,
"liveid":1,
"unitid":0,
"sort":1,
"name":"认识图形(2)"
}
],
"id":"2bbf940d1d4da4196c3da1f128d3375c"
}
<<<
error
Array
(
[error] => Array
(
[code] => -32602
[message] => Invalid params
[data] =>
)
)
~~~