export default {
  // 权限管理相关接口
  // 获取权限管理列表
  GET_PERMISSION_DATA: {
    url: '/custom/permission/getUserRoleAndPermission',
    method: 'get'
  },
  // 保存权限管理
  SAVE_PERMISSION_DATA: {
    url: '/custom/permission/insertRole',
    method: 'post'
  },
  // 修改权限管理
  EDIT_PERMISSION_DATA: {
    url: '/custom/permission/updatePermission',
    method: 'post'
  },
  // 删除权限管理
  DELETE_PERMISSION_DATA: {
    url: '/custom/permission/deletePermission',
    method: 'get'
  },
  // 获取所有权限表
  GET_ALL_PERMISSION_LIST: {
    url: '/custom/permission/getAllPermission',
    method: 'get'
  },
  DELETE_ROLE_DATA: {
    url: '/custom/permission/deleteRole',
    method: 'get'
  },
  CHECK_ROLE_USER_DEPT: {
    url: '/custom/permission/selectUserOrDeptByRole',
    method: 'get'
  },
  GET_NOW_USER_ROLE: {
    url: '/custom/permission/selectPermByUserId',
    method: 'get'
  },
  ADD_ROLE_PERMISSION: {
    url: '/custom/permission/addRoles',
    method: 'post'
  },
  GET_ROLE_PERMISSION: {
    url: '/custom/permission/selectRoles',
    method: 'get'
  },
  DELETE_ROLE_PERMISSION: {
    url: '/custom/permission/removeRoles',
    method: 'get'
  },
  GET_ROLE_PERMISSION_BING: {
    url: '/custom/permission/userRoleBinding',
    method: 'post'
  },
  GET_SUB_SYSTEM_DATA_LIST: {
    url: '/custom/permission/getAllParameters',
    method: 'get'
  },
  EDIT_ROLE_CONTROL_LIST: {
    url: '/custom/permission/updatePerForRole',
    method: 'post'
  },
  GET_ROLE_CONTROL_LIST: {
    url: '/custom/permission/selectPersByRole',
    method: 'get'
  }
}
