// 物业管理员 import http from '@/apis/axios' const api = 'admin/' export default { // 详情 detail: (data, params) => http(api + 'roleinfo', data, 'post', params), // 更新 update: (data, params) => http(api + 'rolesave', data, 'post', params), // 拉取角色列表 getRole: (data, params) => http(api + 'roleall', data, 'post', params), // 功能权限列表 actionList: (data, params) => http(api + 'actionlist', data, 'post', params) }