讨论数量: 11
![](https://cdn.learnku.com/uploads/avatars/19370_1507619397.jpeg!/both/100x100)
返回未读的消息是否更合适?
![](https://cdn.learnku.com/uploads/avatars/29950_1537411199.jpeg!/both/100x100)
怎么让返回数据里的字段值不带 HTML 标签?
![](https://cdn.learnku.com/uploads/avatars/24819_1525682641.jpg!/both/100x100)
请问 NotificationTransformer 中的 transform 方法中的 $notification 参数不声明类型也可以?
![](https://cdn.learnku.com/uploads/avatars/27000_1530705426.jpeg!/both/100x100)
没有正确返回?
![](https://cdn.learnku.com/uploads/avatars/23047_1642754143.jpg!/both/100x100)
$this->user->notifications ()->paginate () 空 ?
![](https://cdn.learnku.com/uploads/avatars/17428_1499325183.png!/both/100x100)
transform 能在 addMeta 调用?
![](https://cdn.learnku.com/uploads/avatars/28043_1533028112.jpeg!/both/100x100)
请问加上 implements shouldQueue 为什么数据库没数据了呢?
![](https://cdn.learnku.com/uploads/avatars/26469_1529485878.jpg!/both/100x100)
大佬,$this->user 和 $this->user () 用法有区别吗?
![](https://cdn.learnku.com/uploads/images/201801/03/1/MFCtSTiGzj.jpg)
获取当前登录的用户的方法?
![](https://cdn.learnku.com/uploads/images/201801/03/1/D0QUwoB4hz.jpg)
API/NotificationsController.php 中关于 user 调用
![](https://cdn.learnku.com/uploads/images/201801/03/1/xJOU6N13zW.jpg)
返回 Could not get any response