// 功能权限
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 + 'menuactionlist', data, 'post', params)
}
