讨论数量: 16
![](https://cdn.learnku.com/uploads/avatars/16439_1495175693.jpeg!/both/100x100)
关于 reponse 返回数据时状态码的问题?
![](https://cdn.learnku.com/uploads/avatars/30966_1540310365.jpeg!/both/100x100)
请问有这么一个登录未登录获取不同分类列表怎么解决
![](https://cdn.learnku.com/uploads/avatars/21035_1515642345.jpg!/both/100x100)
transformer 如果需要输出多级分类(无限分类),应该怎么做呢?
![](https://cdn.learnku.com/uploads/avatars/28562_1533971919.png!/both/100x100)
转换器为什么不使用依赖注入的形式呢
![](https://cdn.learnku.com/uploads/avatars/20041_1537366852.jpg!/both/100x100)
如果涉及到复杂一点的查询呢?
![](https://cdn.learnku.com/uploads/avatars/17265_1498706676.png!/both/100x100)
API transformer.php?
![](https://cdn.learnku.com/uploads/images/201801/03/1/76NffsQ6Ul.jpg)
dingo2.0 在 5.6 中使用 response 无法使用 ?
![](https://cdn.learnku.com/uploads/avatars/21371_1548042301.jpg!/both/100x100)
在接口中我如何打印数据(例如:我要打印有哪几个分类?每个分类下有多少个话题)
![](https://cdn.learnku.com/uploads/avatars/24093_1523239908.jpg!/both/100x100)
全程都是在用 postman 这样对于学习真的好吗?
![](https://cdn.learnku.com/uploads/avatars/15964_1493450037.jpeg!/both/100x100)
使用 $this->response->collection 返回空数组的时候会报错
![](https://cdn.learnku.com/uploads/avatars/32513_1649848924.jpg!/both/100x100)
Vagrant halt 关闭后,再次 up 会出现 502
![](https://cdn.learnku.com/uploads/avatars/23406_1608112870.png!/both/100x100)
使用了 liyu/dingo-serializer-switch 中间件 为什么分类列表返回的数据还有 data 包裹
![](https://cdn.learnku.com/uploads/avatars/30966_1540310365.jpeg!/both/100x100)
多级分类里面的 children 可以去掉 data 这一层吗
![](https://cdn.learnku.com/uploads/avatars/51815_1614821717.jpg!/both/100x100)
加入 CategoryResource::wrap ('data');的区别在哪里?
![](https://cdn.learnku.com/uploads/images/201801/03/1/6iIeY82gKp.jpg)
怎麽定義 response
![](https://cdn.learnku.com/uploads/avatars/21177_1516265896.jpg!/both/100x100)
分页相关如何做呢?有木有组件?