## 获取课程
```
app('rpc.course')->call('apps.info.get',[$id = 1]);
```
~~~[api]
apps.info.get
id=1
<<<
Array
{
"jsonrpc":"2.0",
"result":{
"id":1,
"type":0,
"tpl":"Shuxue",
"grade":1,
"cid":2,
"oid":113408,
"unitid":0,
"title":"认识图形(2)",
"intro":"(1)认识常见的平面图形:圆形、三角形、四边形 (2)利用边角关系判断不同的四边形:正方形、长方形、平行四边形 (3)数图形个数,要遵循以下原则:按顺序、做标记",
"vurl":"D486BE0BD719D80A9C33DC5901307461",
"vduration":0,
"onpic":"image/2018/10/17/200651\_5bc725dbcfab7.png",
"icon":"image/2018/12/28/114924\_5c259d44ddc35.png",
"sort":1,
"state":1,
"isfree":0,
"islock":0,
"udate":"1899-11-30",
"ctime":"1516965798",
"old\_id":0,
"oldtype":0,
"shuxue":{
"id":1,
"grade":1,
"cid":2,
"gid":1,
"oid":113408,
"unitid":0,
"aiid":6,
"liveid":0,
"name":"认识图形(2)",
"intro":"(1)认识常见的平面图形:圆形、三角形、四边形 (2)利用边角关系判断不同的四边形:正方形、长方形、平行四边形 (3)数图形个数,要遵循以下原则:按顺序、做标记",
"studys":"本讲目标是培养小朋友们认识平面图形的能力,带着以下几个问题,我们一起学习吧!我们一起来找答案. 1.什么是圆,什么是四边形? 2.正方形、长方形和平行四边形有什么区别呢? 3.在组合图形中,大三角又套小三角,怎样快速数出图形个数呢?",
"knowledge":"(1)认识常见的平面图形:圆形、三角形、四边形 (2)利用边角关系判断不同的四边形:正方形、长方形、平行四边形 (3)数图形个数,要遵循以下原则:按顺序、做标记",
"vurl":"D486BE0BD719D80A9C33DC5901307461",
"pname":"哆哆",
"pic":"image/2018/01/31/151850\_5a716dda1ab4a.png",
"dopic":"image/2018/01/31/152326\_5a716eee26a31.svga",
"icon":"image/2018/12/28/114924\_5c259d44ddc35.png",
"dicon":"image/2018/04/03/183107\_5ac357eb93481.png",
"picon":"image/2018/04/03/183023\_5ac357bf87ec7.png",
"tvdopic":"image/2018/04/09/202949\_5acb5cbdbeeb4.png",
"onpic":"image/2018/10/17/200651\_5bc725dbcfab7.png",
"pquestion":"",
"ptimes":300,
"qnums":3,
"isfree":0,
"tag":0,
"aid":1,
"aids":"",
"tids":"0",
"sort":1,
"state":1,
"ftype":0,
"udate":"1899-11-30",
"ctime":"1516965798",
"oldid":1,
"newtype":0
}
},
"id":"ebd8b74533d14f7ff88cab3f157c45bc"
}
<<<
error
Array
(
[error] => Array
(
[code] => -32602
[message] => Invalid params
[data] =>
)
)
~~~