From be8c526a454aa9081000d15f26bebdef8c183aea Mon Sep 17 00:00:00 2001
From: wsj <593216709@qq.com>
Date: Mon, 26 Oct 2026 23:34:23 +0800
Subject: [PATCH] feat: 提交

---
 src/types/auth.ts |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git a/src/types/auth.ts b/src/types/auth.ts
index db880cb..eecd57d 100644
--- a/src/types/auth.ts
+++ b/src/types/auth.ts
@@ -5,13 +5,28 @@
   username: string;
   nickname: string;
   role: UserRole;
+  tenant: string;
+  phone: string;
 }
 
 export interface LoginParams {
-  username: string;
+  tenant: string;
+  phone: string;
   password: string;
 }
 
+/** `/auth/tenant-login` 返回的业务数据。 */
+export interface TenantLoginData {
+  token: string;
+  employeeId?: number;
+  employeeName?: string;
+  phone?: string;
+  tenantId?: string;
+  tenantCode?: string;
+  tenantName?: string;
+  loginType?: string;
+}
+
 export interface LoginResult {
   token: string;
   user: UserInfo;

--
Gitblit v1.9.3