From a99886eb9c73018235e2c373f3d82a2b0b2311d5 Mon Sep 17 00:00:00 2001
From: zhangchen <1652267879@qq.com>
Date: 星期二, 16 九月 2025 13:36:40 +0800
Subject: [PATCH] Merge branch 'ID1766-添加推送登录功能' into test
---
src/store/type/user.type.ts | 27 +++++++++++++++++----------
1 files changed, 17 insertions(+), 10 deletions(-)
diff --git a/src/store/type/user.type.ts b/src/store/type/user.type.ts
index da40248..5e69b20 100644
--- a/src/store/type/user.type.ts
+++ b/src/store/type/user.type.ts
@@ -1,11 +1,18 @@
-export interface UserInfo {
- 用户头像: string;
- 用户昵称: string;
-}
-
-export const defaultUserInfo = (): UserInfo => {
- return {
- 用户头像: '',
- 用户昵称: ''
- }
+export interface DeviceLoginRecord {
+ clientCode: string;
+ code: string;
+ createTime: string; // 格式:YYYY-MM-DD HH:mm:ss
+ createUser: string | null;
+ deletedTime: string | null;
+ deviceCode: string;
+ id: number;
+ isDeleted: number; // 0/1 标识
+ loginTime: string; // 格式:YYYY-MM-DD HH:mm:ss
+ remark: string | null;
+ token: string | null;
+ updateTime: string; // 格式:YYYY-MM-DD HH:mm:ss
+ updateUser: string | null;
+ userCode: string;
+ userName: string;
+ userAvatar: string | null;
}
\ No newline at end of file
--
Gitblit v1.8.0