From 7b7377fa1b051306dffe4633c48be92bf0d3f8ff Mon Sep 17 00:00:00 2001 From: LiuHao <liuhaoai545@gmail.com> Date: 星期二, 16 一月 2024 09:51:51 +0800 Subject: [PATCH] update 优化request请求类判断请求头方式 --- src/api/types.ts | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/api/types.ts b/src/api/types.ts index 8ca204f..617286c 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -15,10 +15,13 @@ * 鐧诲綍璇锋眰 */ 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; -- Gitblit v1.9.3