middleware.md

方法级别不需定义声明AutoController
This commit is contained in:
高昕 2019-07-25 15:31:11 +08:00 committed by GitHub
parent 3f85fa8bf0
commit 37c7326dcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,7 +141,6 @@ class IndexController
{
/**
* @AutoController()
* @Middlewares({
* @Middleware(BarMiddleware::class)
* })
@ -290,4 +289,4 @@ location / {
return 204;
}
}
```
```