feat: wechat login
This commit is contained in:
1 parent
3283d94ea4
commit
3cb55e20d5
13 files changed
+181
-12
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { IsNotEmpty } from 'class-validator';
|
||||
|
||||
export class CreateUserRequest {
|
||||
@IsNotEmpty({ message: '用户名不能为空' })
|
||||
username: string;
|
||||
|
||||
@IsNotEmpty({ message: '密码不能为空' })
|
||||
password: string;
|
||||
}
|
||||
Reference in new issue
Block a user