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
| import request from '@/axios';
| // 列表接口
| export const getaiImagesPageAPI = (data) => {
| return request({
| url: `/blade-resource//attach/attachmentsPage`,
| method: 'post',
| data
| })
| };
| // 详情接口
| export const getAttachInfoAPI = (id) => {
| return request({
| url: `/blade-resource/attach/getAttachInfo`,
| method: 'get',
| params: {
| id,
| },
| })
| };
| //删除
| export const deleteFileMultipleApi = (ids) => {
| return request({
| url: `/blade-resource/attach/remove`,
| method: 'post',
| params: {
| ids,
| },
| })
| }
| // 下载
| export const downloadApi = (data) => {
| return request({
| url: `/blade-resource/attach/download`,
| method: 'post',
| data
| })
| }
|
|