rwadurian/backend/services/auth-service
hailin 74f061cfeb fix(auth-service): 修复支付密码DTO缺少class-validator装饰器导致请求被ValidationPipe拒绝
根因:ValidationPipe配置了whitelist+forbidNonWhitelisted,但DTO类的属性
没有任何class-validator装饰器,导致所有请求体属性被当作非白名单属性直接
返回Bad Request,请求根本未到达业务逻辑层。

修复:为SetTradePasswordDto、ChangeTradePasswordDto、VerifyTradePasswordDto
添加@IsString()和@IsNotEmpty()装饰器。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 09:39:14 -08:00
..
prisma feat(trade-password): 实现卖出交易的支付密码验证功能 2026-02-05 18:12:39 -08:00
src fix(auth-service): 修复支付密码DTO缺少class-validator装饰器导致请求被ValidationPipe拒绝 2026-02-26 09:39:14 -08:00
.env.example feat(auth-service,mining-app): 实现完整认证流程和CDC用户同步 2026-01-11 05:29:48 -08:00
Dockerfile fix(auth-service): add python3/make/g++ to builder stage for bcrypt 2026-01-12 20:20:41 -08:00
nest-cli.json feat(auth-service): 添加用户认证服务2.0 2026-01-10 18:50:59 -08:00
package-lock.json feat(auth-service): 添加用户认证服务2.0 2026-01-10 18:50:59 -08:00
package.json feat(auth-service): 添加用户认证服务2.0 2026-01-10 18:50:59 -08:00
tsconfig.json feat(auth-service): 添加用户认证服务2.0 2026-01-10 18:50:59 -08:00