feat(projects): 迁移登录完成

This commit is contained in:
Soybean
2022-01-05 01:35:32 +08:00
parent f5a36a05cb
commit b93b80cb4b
54 changed files with 1679 additions and 260 deletions

10
src/typings/api/auth.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
/** 后端返回的用户权益相关类型 */
declare namespace ApiAuth {
/** 返回的token和刷新token */
interface Token {
token: string;
refreshToken: string;
}
/** 返回的用户信息 */
type UserInfo = Auth.UserInfo;
}