## 通過課程id列表獲取客戶才能基本信息及課程包分類列表
```
app('rpc.course')->call('apps.info.getCourseListAndPacketInfo',[$idList = [1,2,3,4,5,6,7,8]]);
```
~~~[api]
apps.info.get
id=1
<<<
Array{
"jsonrpc": "2.0",
"result": {
"1": {
"id": "1",
"grade": "1",
"tpl": "Shuxue",
"title": "認識圖形(2)",
"packid": "1",
"type": "1"
},
"2": {
"id": "2",
"grade": "1",
"tpl": "Shuxue",
"title": "剪拼圖形",
"packid": "1",
"type": "1"
},
"3": {
"id": "3",
"grade": "1",
"tpl": "Shuxue",
"title": "20以內的退位減法",
"packid": "1",
"type": "1"
}
},
"id": "66cc65622fe92bd39282ab314f504d49"
}
<<<
error
Array
(
[error] => Array
(
[code] => -32602
[message] => Invalid params
[data] =>
)
)
~~~