fix: 为微信登录补充请求校验

This commit is contained in:
que01 committed 2026-09-21 11:51:38 +08:00
1 parent 41e4cc0f1c
commit 6edb9d7a30
3 files changed
+17 -3

No files matched your search

+6
View File
@@ -4,3 +4,9 @@ export class AdminLoginDto {
@IsString() username!: string;
@IsString() @MinLength(8) password!: string;
}
export class WechatLoginDto {
@IsString()
@MinLength(1)
code!: string;
}