10 lines
186 B
JavaScript
10 lines
186 B
JavaScript
import request from '@/utils/request';
|
|
|
|
export async function query() {
|
|
return request('/api/users');
|
|
}
|
|
|
|
export async function queryCurrent() {
|
|
return request('/api/currentUser');
|
|
}
|