当我向 auth/login 发出 POST 请求时出现此错误
[Nest] 8344 - 10/07/2020, 17:59:32 [ExceptionsHandler] Strategy#authenticate must be overridden by subclass +811577ms
错误:必须由 LocalStrategy.Strategy.authenticate 的子类覆盖 Strategy#authenticate (/home/damy/Projects/snippets/Typescript/simple-crud-with-nest/node_modules/passport-strategy/lib/strategy.js:21: 9)尝试(/home/damy/Projects/snippets/Typescript/simple-crud-with-nest/node_modules/passport/lib/middleware/authenticate.js:366:16)在认证(/home/damy/Projects/片段/Typescript/simple-crud-with-nest/node_modules/passport/lib/middleware/authenticate.js:367:7) 在 /home/damy/Projects/snippets/Typescript/simple-crud-with-nest/node_modules/ @nestjs/passport/dist/auth.guard.js:87:3 at new Promise () at /home/damy/Projects/snippets/Typescript/simple-crud-with-nest/node_modules/@nestjs/passport/dist/ auth.guard.js:79:83 在 MixinAuthGuard。(/home/damy/Projects/snippets/Typescript/simple-crud-with-nest/node_modules/@nestjs/passport/dist/auth.guard.js:48:36) 在 Generator.next () 在 /home/damy /Projects/snippets/Typescript/simple-crud-with-nest/node_modules/@nestjs/passport/dist/auth.guard.js:20:71 at new Promise ()
这是我的本地策略代码 nestjs本地策略代码