feat: 新增登录接口请求

This commit is contained in:
奔跑的面条
2022-05-20 16:12:27 +08:00
parent 55159be0dc
commit 5f5731f813
16 changed files with 144 additions and 65 deletions
+19
View File
@@ -0,0 +1,19 @@
export enum SystemStoreUserInfoEnum {
USER_TOKEN = 'userToken',
USER_ID = 'userId',
USER_NAME = 'userName',
}
export interface UserInfoType {
[SystemStoreUserInfoEnum.USER_TOKEN]?: string,
[SystemStoreUserInfoEnum.USER_ID]?: string,
[SystemStoreUserInfoEnum.USER_NAME]?: string,
}
export enum SystemStoreEnum {
USER_INFO = 'userInfo'
}
export interface SystemStoreType {
[SystemStoreEnum.USER_INFO]: UserInfoType
}