我有一个像这样的自定义方法装饰器。
export function CustomDecorator() { return applyDecorators( UseGuards(JwtAuthGuard) ); }
在自定义装饰器中,我想获取请求标头但不确定如何获取请求实例?
decorator nestjs
decorator ×1
nestjs ×1