flat: 暂存

This commit is contained in:
Apcallover
2024-04-16 10:51:05 +08:00
parent 1ed2d868a9
commit c67417f347
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ import {
} from '@/untils/store.js'
import website from "@/config/website";
export const loginByUsername = (tenantId, username, password, type, key, code, ticket) => request({
export const loginByUsername = (tenantId, username, password, type, key, code, token) => request({
url: '/api/jobslink-auth/oauth/token',
method: 'post',
headers: {
@@ -24,7 +24,7 @@ export const loginByUsername = (tenantId, username, password, type, key, code, t
grant_type: (website.captchaMode ? "captcha" : "password"),
scope: "all",
type,
ticket
token
},
});