fix - bug

This commit is contained in:
toom1996
2025-06-18 17:52:33 +08:00
parent 8c81d3688e
commit b7fe1994f1
2 changed files with 5 additions and 4 deletions

View File

@ -25,7 +25,7 @@ class ToolsController extends AbstractController
->where('is_delete', 0);
if ($keyword) {
$query = $keyword->first()->toArray();
$query = $keyword->first()?->toArray();
return $this->response->json([
'code' => 0,
'data' => $query