From 4cd8d59f1220315e931b9a25468aef867517d714 Mon Sep 17 00:00:00 2001 From: richarjiang Date: Tue, 19 Aug 2025 14:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96GetDietHistoryQueryDto?= =?UTF-8?q?=EF=BC=8C=E7=A7=BB=E9=99=A4limit=E5=92=8Cpage=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E7=9A=84=E9=AA=8C=E8=AF=81=E8=A3=85=E9=A5=B0=E5=99=A8=EF=BC=8C?= =?UTF-8?q?=E7=AE=80=E5=8C=96DTO=E7=BB=93=E6=9E=84=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/users/dto/diet-record.dto.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/users/dto/diet-record.dto.ts b/src/users/dto/diet-record.dto.ts index 1f255aa..cd5b80b 100644 --- a/src/users/dto/diet-record.dto.ts +++ b/src/users/dto/diet-record.dto.ts @@ -297,15 +297,10 @@ export class GetDietHistoryQueryDto { @ApiProperty({ description: '每页数量', required: false, default: 20 }) @IsOptional() - @IsNumber() - @Min(1) - @Max(100) limit?: number; @ApiProperty({ description: '页码', required: false, default: 1 }) @IsOptional() - @IsNumber() - @Min(1) page?: number; }