user.js 257 Bytes
Newer Older
1
import request from '@/utils/request';
2 3 4 5 6 7 8 9

export async function query() {
  return request('/api/users');
}

export async function queryCurrent() {
  return request('/api/currentUser');
}
xiaohuoni's avatar
xiaohuoni committed
10 11 12 13

export async function queryMenu() {
  return request('/api/menus');
}