From a1d7e81859f554f3a53680cc35f0f49bf1f77098 Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期四, 14 五月 2026 14:37:02 +0800
Subject: [PATCH] 导入项目
---
src/api/login/types.ts | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/src/api/login/types.ts b/src/api/login/types.ts
new file mode 100644
index 0000000..b5790e6
--- /dev/null
+++ b/src/api/login/types.ts
@@ -0,0 +1,38 @@
+export type UserLoginVO = {
+ username: string
+ password: string
+ captchaVerification: string
+ socialType?: string
+ socialCode?: string
+ socialState?: string
+}
+
+export type TokenType = {
+ id: number // 缂栧彿
+ accessToken: string // 璁块棶浠ょ墝
+ refreshToken: string // 鍒锋柊浠ょ墝
+ userId: number // 鐢ㄦ埛缂栧彿
+ userType: number //鐢ㄦ埛绫诲瀷
+ clientId: string //瀹㈡埛绔紪鍙�
+ expiresTime: number //杩囨湡鏃堕棿
+}
+
+export type UserVO = {
+ id: number
+ username: string
+ nickname: string
+ deptId: number
+ email: string
+ mobile: string
+ sex: number
+ avatar: string
+ loginIp: string
+ loginDate: string
+}
+
+export type RegisterVO = {
+ tenantName: string
+ username: string
+ password: string
+ captchaVerification: string
+}
--
Gitblit v1.8.0