import request from '@/utils/request';

// 账号登录
export async function login(data) {
  return request({
    path: '/permissions/login',
    data,
    type: 'post',
  });
}

// 账号登录
export async function switchaccount(data) {
  return request({
    path: '/permissions/switch/account',
    data,
    type: 'post',
  });
}
