import request from '@/api/request'

/**
 * 用户详情
 */
export const apiUserDetail = () => request({
  method: 'GET',
  url: '/api/v1/user/detail',
  showLoading: true
})

/**
 * 退出登录
 */
export const apiUserLogout = () => request({
  method: 'GET',
  url: '/api/v1/user/logout'
})
