Add (ai tool submission)

This commit is contained in:
2023-11-29 21:16:13 +08:00
parent 79326f74f1
commit 7ce1e93242
67 changed files with 686 additions and 474 deletions

View File

@@ -71,7 +71,7 @@ public function discover(Request $request, $category_slug = null)
$ai_tools = AiTool::when(! is_null($category), function ($query) use ($category) {
$query->where('category_id', $category->id);
})
->where('status','live')
->where('status', 'live')
->whereNotNull('screenshot_img')
->orderBy('updated_at', 'DESC')->paginate(6);