src/Leevel/Router/ResponseFactory.php
public function apiNotFound(?string $message = null, ?string $text = null): ApiResponse
    {
        return $this->createApiResponse()->notFound($message, $text);
    }
public function apiNotFound(?string $message = null, ?string $text = null): ApiResponse
    {
        return $this->createApiResponse()->notFound($message, $text);
    }
未找到
用户发出的请求针对的是不存在的记录: 404.

@param string $message
@param string $text

@return \Leevel\Http\ApiResponse