src/Leevel/Router/ResponseFactory.php
public function apiOk($content = '', ?string $text = null): ApiResponse
    {
        return $this->createApiResponse()->ok($content, $text);
    }
public function apiOk($content = '', ?string $text = null): ApiResponse
    {
        return $this->createApiResponse()->ok($content, $text);
    }
请求成功
一般用于GET与POST请求： 200.

@param mixed  $content
@param string $text

@return \Leevel\Http\ApiResponse