Support token auth

This commit is contained in:
cuigh
2021-12-24 17:24:09 +08:00
parent 752ddff01f
commit 16888e54ee
17 changed files with 190 additions and 60 deletions

View File

@@ -17,6 +17,10 @@ export interface User {
status: number;
email: string;
roles: string[];
tokens: {
name: string;
value: string;
}[];
createdAt: number;
updatedAt: number;
createdBy: {