flat: 链接登陆1

This commit is contained in:
Apcallover
2024-03-20 17:55:52 +08:00
parent d1c462319c
commit 0e959356c3

View File

@@ -23,11 +23,9 @@ export const loginByUsername = (tenantId, username, password, type, key, code, t
password, password,
grant_type: (website.captchaMode ? "captcha" : "password"), grant_type: (website.captchaMode ? "captcha" : "password"),
scope: "all", scope: "all",
type type,
},
data: {
token token
} },
}); });
export const refreshToken = (refresh_token, tenantId) => request({ export const refreshToken = (refresh_token, tenantId) => request({