src/Leevel/Http/ApiResponse.php
public function badRequest(?string $message = null, ?string $text = null): IResponse
    {
        return $this->error($message, static::HTTP_BAD_REQUEST, $text);
    }
public function badRequest(?string $message = null, ?string $text = null): IResponse
    {
        return $this->error($message, static::HTTP_BAD_REQUEST, $text);
    }
错误请求
服务器不理解请求的语法: 400.

@param string $message
@param string $text

@return $this