这里定义了2个类,IRegister为传入参数,通过class-validator规定的注解方式做校验,ORegister为返回结果。 class-validator官方提供的方式还不能直接对一个请求的body进行 ...
確定! 回上一頁