import { url } from '@/tripartite/buildBigScreen/src/config';
import request from '../axios'
export const getList = (params) => request({
  url: url + 'bigScreen/bladeVisualMap/v1/query',
  method: 'post',
  params: params
});



export const getObj = (id) => request({
  url: url + 'map/detail',
  method: 'get',
  params: {
    id
  }
});

export const addObj = (data) => request({
  url: url + 'map/save',
  method: 'post',
  data: data
});
export const updateObj = (data) => request({
  url: url + 'map/update',
  method: 'post',
  data: data
});



export const delObj = (id) => request({
  url: url + 'map/remove',
  method: 'post',
  params: {
    ids: id
  }
});