From 3fb8f1c2516f8e56ec9406426ccb4764c6c50968 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期日, 02 七月 2023 15:32:58 +0800
Subject: [PATCH] 回退 'Pull Request !20 : 统一登录授权'

---
 src/api/types.ts |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/src/api/types.ts b/src/api/types.ts
index e02e645..68fb427 100644
--- a/src/api/types.ts
+++ b/src/api/types.ts
@@ -15,24 +15,19 @@
  * 鐧诲綍璇锋眰
  */
 export interface LoginData {
-  tenantId?: string;
-  username?: string;
-  password?: string;
+  tenantId: string;
+  username: string;
+  password: string;
   rememberMe?: boolean;
-  socialCode?: string,
-  socialState?: string,
-  source?: string,
   code?: string;
   uuid?: string;
-  clientId: string;
-  grantType: string;
 }
 
 /**
  * 鐧诲綍鍝嶅簲
  */
 export interface LoginResult {
-  access_token: string;
+  token: string;
 }
 
 /**

--
Gitblit v1.9.3