import request from '@/utils/request';

export async function devicelist(data) {
  return request({
    path: '/iot/device/list',
    data,
    type: 'get',
  });
}
export async function deviceunbind(data) {
  return request({
    path: '/iot/device/unbind',
    data,
    type: 'post',
  });
}
export async function alarmlist(data) {
  return request({
    path: '/iot/device/alarm/list',
    data,
    type: 'get',
  });
}
export async function hikcamera(data) {
  return request({
    path: '/iot/hik/cameras',
    data,
    type: 'get',
  });
}
export async function refugedetail(data) {
  return request({
    path: '/emergency/refuge/detail',
    data,
    type: 'get',
  });
}
