## 获取课程详情
```
app('rpc.course')->call('apps.info.getInfo',[$id = 10000]);
```
~~~[api]
apps.info.getInfo
id=1
<<<
Array
{
"jsonrpc":"2.0",
"result":{
"id":1000,
"type":0,
"tpl":"Shuxue",
"grade":5,
"cid":2,
"oid":116270,
"unitid":1259,
"title":"除数是小数的除法(二)",
"intro":"",
"vurl":"",
"vduration":0,
"onpic":"",
"icon":"",
"sort":9,
"state":0,
"isfree":0,
"islock":0,
"udate":"2019-10-28",
"ctime":"1557285993",
"old\_id":0,
"oldtype":0,
"info":{
"id":1000,
"grade":5,
"cid":2,
"gid":186,
"oid":116270,
"unitid":1259,
"aiid":0,
"liveid":0,
"name":"除数是小数的除法(二)",
"intro":"",
"studys":"",
"knowledge":"",
"vurl":"",
"pname":"",
"pic":"",
"dopic":"",
"icon":"",
"dicon":"",
"picon":"",
"tvdopic":"",
"onpic":"",
"pquestion":"",
"ptimes":0,
"qnums":0,
"isfree":0,
"tag":0,
"aid":0,
"aids":"",
"tids":"0",
"sort":9,
"state":0,
"ftype":0,
"udate":"2019-10-28",
"ctime":"1557285993",
"oldid":1000,
"newtype":0
}
},
"id":"94ffbf94bf8662a5c7dfbefad015ddb8"
}
<<<
error
Array
(
[error] => Array
(
[code] => -32602
[message] => Invalid params
[data] =>
)
)
~~~