user.ts 304 Bytes
Newer Older
1
import request from '@/utils/request';
2

3
export async function query(): Promise<any> {
4 5 6
  return request('/api/users');
}

7
export async function queryCurrent(): Promise<any> {
8 9
  return request('/api/currentUser');
}
10

11
export async function queryNotices(): Promise<any> {
12 13
  return request('/api/notices');
}