跳到主要内容
版本:Next

UsePermission

Callable

  • UsePermission(...permissions: Permission[]): MethodDecorator

  • You can define multiple permissions, but only when all of them satisfied, could you access the route.