feat: 手机验证码作为用户凭证

This commit is contained in:
archer
2023-04-16 19:53:50 +08:00
parent 36dad6df33
commit faf722fa15
20 changed files with 375 additions and 167 deletions

7
src/types/user.d.ts vendored
View File

@@ -1,11 +1,6 @@
export enum UserNumberEnum {
phone = 'phone',
wx = 'wx'
}
export interface UserType {
_id: string;
email: string;
username: string;
openaiKey: string;
balance: number;
}