How to make custom response using globalPipse in nestjs

前端 未结 0 825
野性不改
野性不改 2021-01-02 22:43

I wrote an api in user.controller using dto of \'class-validator\'.

  @Post(\'/\')
  public async createUser(
    @Res() res,
    @Body() createUserDto: Creat         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题