You've already forked lubo_comment_query
图标,及抖音支持
This commit is contained in:
@ -11,7 +11,10 @@ class DanmakuQueryController extends BaseController
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
$video_list = Videos::query()->withCount("danmakus")->orderByDesc("created_at")->paginate(10);
|
||||
$video_list = Videos::query()
|
||||
->withCount("danmakus", "bilibili_danmakus", "ixigua_danmakus", "douyin_danmakus")
|
||||
->orderByDesc("created_at")
|
||||
->paginate(10);
|
||||
return view("danmaku.index", [
|
||||
"video_list" => $video_list,
|
||||
]);
|
||||
|
Reference in New Issue
Block a user