Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Api参数校验中间件只对server名称为http的有效 #53

Closed
hanchikang opened this issue Dec 14, 2020 · 0 comments
Closed

Api参数校验中间件只对server名称为http的有效 #53

hanchikang opened this issue Dec 14, 2020 · 0 comments

Comments

@hanchikang
Copy link

    public function __construct(ContainerInterface $container, HttpResponse $response, RequestInterface $request, ValidationApi $validation)
    {
        $this->container = $container;
        $this->response = $response;
        $this->request = $request;
        $this->validationApi = $validation;
        parent::__construct($container, 'http');
    }
@daodao97 daodao97 reopened this Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants