## 获取学科配置
```
app('rpc.course')->call('apps.misc.subjects',[]);
```
~~~[api]
apps.misc.subjects
id=1
<<<
Array
{
"jsonrpc":"2.0",
"result":{
"1":"语文",
"2":"数学",
"3":"英语",
"4":"编程",
"5":"围棋",
"6":"科学",
"11":"奥数",
"13":"素养"
},
"id":"1b00e27d276d5941e28afea6dc50a3eb"
}
<<<
error
Array
(
[error] => Array
(
[code] => -32602
[message] => Invalid params
[data] =>
)
)
~~~