讨论数量: 8
![](https://cdn.learnku.com/uploads/avatars/25642_1530608137.jpeg!/both/100x100)
自己试着写了一个接口,返回值都是 null?
![](https://cdn.learnku.com/uploads/avatars/5302_1537349475.jpg!/both/100x100)
隐式路由为什么在 api.php 路由中失效了?
![](https://cdn.learnku.com/uploads/avatars/30253_1538125548.jpeg!/both/100x100)
重写路由模型绑定resolveRouteBinding报错
![](https://cdn.learnku.com/uploads/avatars/26495_1545009525.jpg!/both/100x100)
请问下怎么查一对多的数据。hasMany 关联关系的模型数据查不出来?
![](https://cdn.learnku.com/uploads/avatars/29473_1536227412.jpg!/both/100x100)
请问话题详情含图片的话,API 该如何返回?
![](https://cdn.learnku.com/uploads/avatars/22862_1594691150.png!/both/100x100)
需要 where 筛选该怎么做?
![](https://cdn.learnku.com/uploads/avatars/21295_1682478459.jpg!/both/100x100)
使用封装的 Queries,本地传递 include 可以查询出关联关系,但是线上不行
![](https://cdn.learnku.com/uploads/avatars/39002_1555228203.jpeg!/both/100x100)
我参照话题详情写了一个类似的但是返回空,已解决