## 获取全部分类
```
app('rpc.course')->call('apps.category.list']);
```
~~~[api]
post:demo.getlist
id=1
<<<
Array
{
"jsonrpc":"2.0",
"result":[
{
"id":1,
"title":"互动新绘本"
},
{
"id":2,
"title":"数独专项练习"
},
{
"id":3,
"title":"趣味数独训练营"
},
{
"id":4,
"title":"暑期加速计划"
},
{
"id":5,
"title":"阅读培养"
},
{
"id":6,
"title":"--------"
},
{
"id":7,
"title":"-------"
},
{
"id":8,
"title":"文化传承"
},
{
"id":9,
"title":"--------"
},
{
"id":10,
"title":"数学思维基本功"
},
{
"id":11,
"title":"数学同步思维课(人教)"
},
{
"id":12,
"title":"人教PEP外教口语课"
},
{
"id":13,
"title":"--------"
},
{
"id":14,
"title":"诗词学习"
},
{
"id":15,
"title":"--------"
},
{
"id":16,
"title":"数学同步思维课(人教)"
},
{
"id":17,
"title":"数学同步思维课(人教)"
},
{
"id":18,
"title":"数学同步思维课(人教)"
},
{
"id":19,
"title":"开学季大礼包"
},
{
"id":20,
"title":"训练营"
},
{
"id":21,
"title":"--------"
},
{
"id":22,
"title":"大礼包"
},
{
"id":23,
"title":"指尖上的数学"
},
{
"id":24,
"title":"--------"
},
{
"id":25,
"title":"--------"
},
{
"id":26,
"title":"--------"
},
{
"id":27,
"title":"部编语文同步课"
},
{
"id":28,
"title":"数学同步思维课(人教)"
},
{
"id":29,
"title":"数学同步思维课(人教)"
},
{
"id":30,
"title":"--------"
},
{
"id":31,
"title":"人文地理"
},
{
"id":32,
"title":"文化历史"
},
{
"id":33,
"title":"生活常识"
},
{
"id":34,
"title":"兴趣智力"
},
{
"id":35,
"title":"生物世界"
},
{
"id":36,
"title":"英语儿歌"
},
{
"id":37,
"title":"科学技术"
},
{
"id":38,
"title":"专项突破"
},
{
"id":39,
"title":"能力专项"
},
{
"id":40,
"title":"专项突破"
},
{
"id":41,
"title":"词汇拓展"
},
{
"id":42,
"title":"能力提升"
},
{
"id":43,
"title":"数学同步思维课(北师)"
},
{
"id":44,
"title":"数学同步思维课(苏教)"
},
{
"id":45,
"title":"成长健康"
},
{
"id":46,
"title":"语文-文化素养课"
},
{
"id":47,
"title":"网校数学盒子课"
},
{
"id":48,
"title":"网校语文盒子课"
},
{
"id":49,
"title":"网校英语盒子课"
},
{
"id":50,
"title":"投放专区"
},
{
"id":51,
"title":"自然人文"
},
{
"id":52,
"title":"部编语文"
},
{
"id":53,
"title":"数学思维课(人教同步)"
},
{
"id":54,
"title":"能力提升"
},
{
"id":55,
"title":"全国通用版 英语同步课程"
},
{
"id":56,
"title":"部编语文长期课"
},
{
"id":57,
"title":"通用版英语长期课"
},
{
"id":58,
"title":"初中数学同步思维课"
},
{
"id":59,
"title":"学前英语课"
},
{
"id":60,
"title":"学前数学课"
},
{
"id":61,
"title":"学前语文课"
},
{
"id":62,
"title":"123"
},
{
"id":63,
"title":"家长帮"
},
{
"id":64,
"title":"家长帮01"
},
{
"id":65,
"title":"11232"
},
{
"id":66,
"title":"沈德符"
},
{
"id":67,
"title":"7年级数学直播"
},
{
"id":68,
"title":"7年级英语通用课程"
},
{
"id":69,
"title":"7年级语文直播"
},
{
"id":70,
"title":"语文测试zjf"
},
{
"id":71,
"title":"小学数学思维训练班(人教)"
},
{
"id":72,
"title":"英语测试zjf"
},
{
"id":73,
"title":"数学测试zjf"
},
{
"id":74,
"title":"训练营课程"
},
{
"id":75,
"title":"S029数学训练营"
},
{
"id":76,
"title":"whf测试英语"
},
{
"id":77,
"title":"S029英语训练营"
},
{
"id":78,
"title":"S029三年级语文训练营"
},
{
"id":79,
"title":"S029三年级数学训练营"
},
{
"id":80,
"title":"S029三年级英语训练营"
},
{
"id":81,
"title":"3-7长高课"
},
{
"id":82,
"title":"数学新版训练营"
},
{
"id":83,
"title":"TV测试-课程分类"
},
{
"id":84,
"title":"spd二年级数学训练营"
},
{
"id":85,
"title":"英语训练营001"
},
{
"id":87,
"title":"S029一年级语文训练营"
},
{
"id":88,
"title":"spd二年级语文训练营"
},
{
"id":89,
"title":"lsx英语限量付费返现"
},
{
"id":90,
"title":"spd二年级英语训练班"
},
{
"id":92,
"title":"lsx语文付费训练营拼团"
},
{
"id":93,
"title":"spd五年级训练营"
},
{
"id":94,
"title":"lsx英语付费拼团返现训练营"
},
{
"id":95,
"title":"zms一年级语文训练营"
},
{
"id":96,
"title":"lsx语文付费返现训练营拼团"
},
{
"id":97,
"title":"lsx数学付费返现训练营拼团"
},
{
"id":98,
"title":"zms一年级数学训练营"
},
{
"id":99,
"title":"zms一年级英语训练营"
},
{
"id":100,
"title":"lsx数学付费返现训练营拼团1"
},
{
"id":101,
"title":"spd通用英语"
},
{
"id":102,
"title":"aaa"
}
],
"id":"6f07cb736e1331d5aa382c6b321a200a"
}
<<<
error
Array
(
[error] => Array
(
[code] => -32602
[message] => Invalid params
[data] =>
)
)
~~~