add tenant to all request header
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 登录方法
|
||||
export function login(username, password, code, uuid, tenant) {
|
||||
export function login(username, password, code, uuid) {
|
||||
const data = {
|
||||
username,
|
||||
password,
|
||||
@ -12,7 +12,6 @@ export function login(username, password, code, uuid, tenant) {
|
||||
url: '/login',
|
||||
headers: {
|
||||
isToken: false,
|
||||
tenant
|
||||
},
|
||||
method: 'post',
|
||||
data: data
|
||||
|
Reference in New Issue
Block a user