jiangping
2025-06-17 64fa2c33cd645e86d4e2a8c34c7881ea4aa678cf
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
40
41
import request from '../../utils/request'
import { encryptData } from '@/utils/request/decryption.js'
 
// 查询
export function fetchList (data) {
  return request.post('/business/multifile/page', encryptData(data), {
    trim: true
  })
}
 
// 导出Excel
export function exportExcel (data) {
  return request.post('/business/multifile/exportExcel', encryptData(data), {
    trim: true,
    download: true
  })
}
 
// 创建
export function create (data) {
  return request.post('/business/multifile/create', encryptData(data))
}
 
// 修改
export function updateById (data) {
  return request.post('/business/multifile/updateById', encryptData(data))
}
 
// 删除
export function deleteById (id) {
  return request.get(`/business/multifile/delete/${id}`)
}
 
// 批量删除
export function deleteByIdInBatch (ids) {
  return request.get('/business/multifile/delete/batch', {
    params: {
      ids
    }
  })
}