From 0e959356c3a277b0c61b8aadd7f3b5ba2de7d993 Mon Sep 17 00:00:00 2001 From: Apcallover <1503963513@qq.com> Date: Wed, 20 Mar 2024 17:55:52 +0800 Subject: [PATCH] =?UTF-8?q?flat:=20=E9=93=BE=E6=8E=A5=E7=99=BB=E9=99=861?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/user.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/api/user.js b/api/user.js index 1d9807b..0af8204 100644 --- a/api/user.js +++ b/api/user.js @@ -23,11 +23,9 @@ export const loginByUsername = (tenantId, username, password, type, key, code, t password, grant_type: (website.captchaMode ? "captcha" : "password"), scope: "all", - type - }, - data: { + type, token - } + }, }); export const refreshToken = (refresh_token, tenantId) => request({