doum
2025-09-28 9ab109b9ee96e7ff2bf2b935a044aee5842a3ddc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import request from '../../utils/request'
// 查询
export function fetchList (data) {
  return request.post('/meetingAdmin/cloudService/business/devices/page', data, {
    trim: true
  })
}
 
// 导出Excel
export function exportExcel (data) {
  return request.post('/meetingAdmin/cloudService/business/devices/exportExcel', data, {
    trim: true,
    download: true
  })
}
 
// 创建
export function create (data) {
  return request.post('/meetingAdmin/cloudService/business/devices/create', data)
}
 
// 修改
export function updateById (data) {
  return request.post('/meetingAdmin/cloudService/business/devices/updateById', data)
}
 
// 删除
export function deleteById (id) {
  return request.get(`/meetingAdmin/cloudService/business/devices/delete/${id}`)
}
 
// 批量删除
export function deleteByIdInBatch (ids) {
  return request.get('/meetingAdmin/cloudService/business/devices/delete/batch', {
    params: {
      ids
    }
  })
}