// 物业管理员
import http from '@/apis/axios'
const api = 'Admin/'
export default {
  // 添加
  add: (data, params) => http(api + 'shareadd', data, 'post', params),
  // 删除
  delete: (data, params) => http(api + 'sharedel', data, 'post', params),
  // 分页查询
  list: (data, params) => http(api + 'sharelist', data, 'post', params),
  // 详情
  detail: (data, params) => http(api + 'shareinfo', data, 'post', params),
  // 更新
  update: (data, params) => http(api + 'sharesave', data, 'post', params),
  // 修改状态
  status: (data, params) => http(api + 'sharestatus', data, 'post', params),
  // 获取全部账户列表
  accountall: (data, params) => http(api + 'userall', data, 'post', params),
  // 获取全部用户组
  groupall: (data, params) => http(api + 'groupall', data, 'post', params),
  // 功能权限列表
  actionList: (data, params) => http(api + 'menuactionlist', data, 'post', params)

}
