import $http from '../index'

// 获取列表
export const User_Power_List = (params: any) => $http.post('/api/user/Power/List', params)
// 权限系统列表
export const User_Sys_List = (params: any) => $http.post('/api/user/Power/Sys_List', params)
// 弹框菜单
export const Menu_List = (params: any): any => $http.post('/api/user/Menu/List', params)
// 左侧菜单栏
export const Menu_User_List = (params: any) => $http.post('/api/user/Menu/User_List', params)
// 添加角色名
export const User_Power_Add = (params: any): any => $http.post('/api/user/Power/Add', params)
// 编辑角色名
export const User_Power_Edit = (params: any): any => $http.post('/api/user/Power/Edit', params)
// 删除角色名
export const User_Power_Del = (params: any): any => $http.post('/api/user/Power/Del', params)
// 编辑菜单
export const User_Power_Edit_Menu = (params: any): any => $http.post('/api/user/Power/Edit_Menu', params)
// 获取用户权限
export const User_Power_Get = (params: any): any => $http.post('/api/user/Power/Get', params)
