flat: 链接登陆1
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user