import request from '@/utils/request'

// 分页查询剧院
export const pageList = (query) => {
  return request({
    url: '/member/memberInfo/list',
    method: 'get',
    params: query
  })
}

// 取消认证状态
export function updateAuthStatus(data) {
  return request({
    url: '/member/memberInfo/updateAuthStatus',
    method: 'get',
    params: data
  })
}

// 加入黑名单
export function addBlackList(data) {
  return request({
    url: '/member/memberInfo/blackList',
    method: 'get',
    params: data
  })
}


// ID获取详情
export function getSelectById(data) {
  return request({
    url: '/member/memberInfo/detail',
    method: 'get',
    params: data
  })
}

// 删除模板
export const deleteById = (id) => {
  return request({
    url: '/merchant/merchantTheatre/deleteById',
    method: 'delete',
    params: {id:id}
  })
}
