fix: 为微信登录补充请求校验
This commit is contained in:
1 parent
41e4cc0f1c
commit
6edb9d7a30
3 files changed
+17
-3
No files matched your search
@@ -4,3 +4,9 @@ export class AdminLoginDto {
|
||||
@IsString() username!: string;
|
||||
@IsString() @MinLength(8) password!: string;
|
||||
}
|
||||
|
||||
export class WechatLoginDto {
|
||||
@IsString()
|
||||
@MinLength(1)
|
||||
code!: string;
|
||||
}
|
||||
Reference in new issue
Block a user