feat: 添加用户管理demo

This commit is contained in:
xiaoxian521
2022-04-18 00:30:10 +08:00
parent 9271997a30
commit 42b7e36e0d
14 changed files with 653 additions and 235 deletions

View File

@@ -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 });