mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
feat: 添加用户管理demo
This commit is contained in:
@@ -6,6 +6,11 @@ interface ResponseType extends Promise<any> {
|
||||
msg?: string;
|
||||
}
|
||||
|
||||
// 获取用户管理列表
|
||||
export const getUserList = (data?: object): ResponseType => {
|
||||
return http.request("post", "/user", { data });
|
||||
};
|
||||
|
||||
// 获取角色管理列表
|
||||
export const getRoleList = (data?: object): ResponseType => {
|
||||
return http.request("post", "/role", { data });
|
||||
|
||||
Reference in New Issue
Block a user