ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 通过课程id列表和tpl获取课程列表 ``` app('rpc.course')->call('apps.info.getListByIdList',[$courseIdList = [1,2,3,4], $tpl = 'shuxue'); ``` ~~~[api] apps.info.getListByIdList id=1 <<< Array { "jsonrpc":"2.0", "result":{         "1":{             "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         },         "2":{             "id":2,             "grade":1,             "cid":2,             "gid":1,             "oid":113409,             "unitid":0,             "aiid":0,             "liveid":0,             "name":"剪拼图形",             "intro":"(1)图形等分:熟悉三角形、正方形等常见图形的常见等分方法 (2)拼图形:对照目标图形,从特殊位置入手,相同的边可以作为拼接边",             "studys":"本讲目标是培养小朋友们j剪拼图形的能力,带着以下几个问题,我们一起学习吧!我们一起来找答案. 1.三角形有什么特点? 2.两个三角形能拼成什么图形?",             "knowledge":"(1)图形等分:熟悉三角形、正方形等常见图形的常见等分方法 (2)拼图形:对照目标图形,从特殊位置入手,相同的边可以作为拼接边",             "vurl":"BCBA9C61F095D8F89C33DC5901307461",             "pname":"阿木",             "pic":"image/2018/01/31/152412\_5a716f1c372b0.png",             "dopic":"image/2018/01/31/152528\_5a716f68f1585.svga",             "icon":"image/2018/12/28/114938\_5c259d5215a06.png",             "dicon":"image/2018/04/03/183300\_5ac3585c54b45.png",             "picon":"image/2018/04/03/183040\_5ac357d0e2a86.png",             "tvdopic":"image/2018/04/09/203035\_5acb5cebb296e.png",             "onpic":"image/2018/10/17/200711\_5bc725efed859.png",             "pquestion":"",             "ptimes":0,             "qnums":3,             "isfree":0,             "tag":0,             "aid":1,             "aids":"",             "tids":"0",             "sort":2,             "state":1,             "ftype":0,             "udate":"1899-11-30",             "ctime":"1517294294",             "oldid":2,             "newtype":0         },         "3":{             "id":3,             "grade":1,             "cid":2,             "gid":1,             "oid":113410,             "unitid":0,             "aiid":0,             "liveid":0,             "name":"20以内的退位减法",             "intro":"(1)常见题型有看图列算式和不等式填空 (2)$$20$$以内的退位减法用破十法,千万别忘了加个位数 (3)多个数做加减法运算时,按照从左往右的顺序计算",             "studys":"本讲目的在于培养小朋友的运算求解能力: 1.如何看图列算式? 2.什么是破十法? 3.怎样根据大小关系找加数?",             "knowledge":"(1)常见题型有看图列算式和不等式填空 (2)20以内的退位减法用破十法,千万别忘了加个位数 (3)多个数做加减法运算时,按照从左往右的顺序计算",             "vurl":"DA0840398A7D6A299C33DC5901307461",             "pname":"尔奇",             "pic":"image/2018/03/06/173730\_5a9e615a17b0f.png",             "dopic":"image/2018/03/26/112522\_5ab868229cbe2.svga",             "icon":"image/2018/12/28/114947\_5c259d5bbf7e6.png",             "dicon":"image/2018/04/03/183311\_5ac358671d5e8.png",             "picon":"image/2018/02/26/182657\_5a93e0f1cf4a7.png",             "tvdopic":"image/2018/04/09/203111\_5acb5d0fefcd7.png",             "onpic":"image/2018/10/17/200730\_5bc72602c70c1.png",             "pquestion":"",             "ptimes":0,             "qnums":3,             "isfree":0,             "tag":0,             "aid":4,             "aids":"",             "tids":"0",             "sort":3,             "state":1,             "ftype":0,             "udate":"1899-11-30",             "ctime":"1517294413",             "oldid":3,             "newtype":0         },         "4":{             "id":4,             "grade":1,             "cid":2,             "gid":1,             "oid":113411,             "unitid":0,             "aiid":0,             "liveid":0,             "name":"简单逻辑推理",             "intro":"(1)逻辑推理常用方法:比较法、排除法、矛盾分析法、假设法. (2)比较法常用技巧:直接比较法、神箭法、符号法. ",             "studys":"本讲学习简单的逻辑推理,培养小朋友创新思维能力: 1.什么是神箭法比大小? 2.排除法的诀窍在哪里? 3.解决什么样的题目用假设法?",             "knowledge":"(1)逻辑推理常用方法:比较法、排除法、矛盾分析法、假设法. (2)比较法常用技巧:直接比较法、神箭法、符号法.",             "vurl":"D586DBCA1BE5C8A79C33DC5901307461",             "pname":"卡卡",             "pic":"image/2018/01/31/154216\_5a717358e974d.png",             "dopic":"image/2018/03/05/104823\_5a9caff72f6a7.svga",             "icon":"image/2018/12/28/114956\_5c259d64f004b.png",             "dicon":"image/2018/04/03/183322\_5ac3587202d55.png",             "picon":"image/2018/02/01/165504\_5a72d5e868cfd.png",             "tvdopic":"image/2018/04/09/203238\_5acb5d6667482.png",             "onpic":"image/2018/10/17/200749\_5bc7261551ada.png",             "pquestion":"",             "ptimes":0,             "qnums":3,             "isfree":0,             "tag":0,             "aid":7,             "aids":"",             "tids":"0",             "sort":4,             "state":1,             "ftype":0,             "udate":"1899-11-30",             "ctime":"1517294504",             "oldid":4,             "newtype":0         }     }, "id":"ffc71a6e9c4f676c1aeea5dfc7a8e348" } <<< error Array ( [error] => Array ( [code] => -32602 [message] => Invalid params [data] => ) ) ~~~