I got a validation pipe's error when am passing email and password in the body of the postman
问题 Here is the screenshot of error: Here is the code of DTO: import {IsString, IsInt,IsEmail,IsNotEmpty, IsNumberString, IsIn} from 'class-validator' export class logindto{ @IsEmail() username:String @IsNotEmpty() password:String } Here is the code of controller: @Post('login') log(@Body('username')username:logindto,@Body('password')password:logindto):any{ return this.crudservice.loginsys(username,password) } Here is the code of services: export class CrudService { constructor(@InjectModel(