From 37c7326dcf11744b12d66581da7309ae2edc9c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E6=98=95?= <32756573+KevinHubs@users.noreply.github.com> Date: Thu, 25 Jul 2019 15:31:11 +0800 Subject: [PATCH] middleware.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 方法级别不需定义声明AutoController --- doc/zh/middleware/middleware.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/zh/middleware/middleware.md b/doc/zh/middleware/middleware.md index 6be3c9e52..18ed5dd2d 100644 --- a/doc/zh/middleware/middleware.md +++ b/doc/zh/middleware/middleware.md @@ -141,7 +141,6 @@ class IndexController { /** - * @AutoController() * @Middlewares({ * @Middleware(BarMiddleware::class) * }) @@ -290,4 +289,4 @@ location / { return 204; } } -``` \ No newline at end of file +```