- 为 QueryC2cOrdersDto 和 QueryMyC2cOrdersDto 的 page/pageSize 字段添加 @Type(() => Number) 装饰器 - Query参数从URL获取时默认为字符串,需要显式转换为数字类型 - 添加 @IsInt() 验证确保参数为整数 - 修复 Prisma findMany take 参数期望 Int 但收到 String 的错误 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| application | ||
| domain | ||
| infrastructure | ||
| shared | ||
| app.module.ts | ||
| main.ts | ||