ludu-cloud/admin-web/src/services/user.js

19 lines
387 B
Java
Raw Normal View History

import { stringify } from '@/utils/request.qs';
2019-02-27 11:06:55 +08:00
import request from '@/utils/request';
export async function query() {
return request('/api/users');
}
export async function queryCurrent() {
return request('/api/currentUser');
}
// User
export async function queryUserPage(params) {
return request(`/user-api/admins/user/page?${stringify(params)}`, {
method: 'GET',
});
}