This commit is contained in:
2026-06-30 10:33:56 +08:00
commit 6e047dc0a5
607 changed files with 65966 additions and 0 deletions
@@ -0,0 +1,21 @@
import { IsNotEmpty, IsString } from 'class-validator';
export class SendSmsDto {
@IsString()
@IsNotEmpty()
phone: string;
@IsString()
@IsNotEmpty()
scene: string;
}
export class LoginSmsDto {
@IsString()
@IsNotEmpty()
phone: string;
@IsString()
@IsNotEmpty()
code: string;
}