return $this->replies()->limit(5); 这句好像有点问题
[2021-07-21 18:40:28] local.DEBUG: [larabbs] [510μs] select * from replies
where replies
.topic_id
in (1, 50, 52, 55, 58, 62, 71, 78, 81, 86, 87, 88, 92, 95, 100) limit 5 | GET: /api/v1/topics?include=user.roles,topReplies,category&filter%5Bcategory_id%5D=1&filter%5BwithOrder%5D=recentReplied&page=1&perPage
这sql查不出来5条啊
推荐文章: