text: import service from '@/assets/js/request'
  
  export function login (data = {}) {
    return service({
      url: '/user/login',
      method: 'post',
      data
    })
  }
  
  export function getInfo (data = {}) {
    return service({
      url: '/user/getUserByToken',
      method: 'post',
      data
    })
  }
  
  export function logout (data = {}) {
    return service({
      url: '/user/logout',
      method: 'post',
      data
    })
  }
  