增加 Host

This commit is contained in:
iVampireSP.com 2022-08-31 23:44:38 +08:00
parent adfb808f6f
commit c8fcc8c9ed
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132

View File

@ -11,7 +11,7 @@ class TaskController extends Controller
public function __invoke()
{
//
$tasks = Task::user()->get();
$tasks = Task::user()->with('host')->get();
return $this->success($tasks);
}