mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:47:10 +00:00
Update middleware.md
This commit is contained in:
parent
54e6b786d0
commit
9f3c55fae9
@ -57,7 +57,7 @@ app.use(async (ctx, next) => {
|
||||
3. `acl`
|
||||
1. `acl.use()` 添加的其他中间件
|
||||
4. `resourcer.use()` 添加的其他中间件
|
||||
5. action handler
|
||||
5. `action handler`
|
||||
7. `app.use()` 添加的其他中间件
|
||||
|
||||
也可以使用 `before` 或 `after` 将中间件插入到前面的某个 `tag` 标记的位置,如:
|
||||
|
Loading…
Reference in New Issue
Block a user