feat: wechat login

This commit is contained in:
ilhamtahir committed 2024-11-18 19:19:58 +08:00
1 parent 3283d94ea4
commit 3cb55e20d5
13 files changed
+181 -12

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import { IsNotEmpty } from 'class-validator';
export class CreateUserRequest {
@IsNotEmpty({ message: '用户名不能为空' })
username: string;
@IsNotEmpty({ message: '密码不能为空' })
password: string;
}