From b3c1b95437d2edd914cb4e0c62c55737d7e61657 Mon Sep 17 00:00:00 2001 From: Michelle.Chung <1242874891@qq.com> Date: 星期一, 20 十一月 2023 19:27:03 +0800 Subject: [PATCH] add 新增响应解密私钥 ; add 新增 crypto#decryptBase64 Base64解码方法 ; update 更新响应拦截器增加响应解密逻辑 ; --- 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