From 74f3a7dcedba7e9aeac99287c3daf666a726d1d6 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Sat, 14 Jun 2025 13:53:29 +0800
Subject: [PATCH] Merge branch 'refs/heads/feature/v2.0.0/后台管理数据中心'

---
 src/api/dataCenter/dataCenter.js |   54 +++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 51 insertions(+), 3 deletions(-)

diff --git a/src/api/dataCenter/dataCenter.js b/src/api/dataCenter/dataCenter.js
index f73dec8..66db6d6 100644
--- a/src/api/dataCenter/dataCenter.js
+++ b/src/api/dataCenter/dataCenter.js
@@ -1,8 +1,56 @@
 import request from '@/axios';
-export const getaiImagesPage = (data) => {
+// 列表接口
+export const getaiImagesPageAPI = (data,params) => {
     return request({
-		url: `/blade-resource/attach/aiImagesPage`,
+		url: `/blade-resource//attach/attachmentsPage`,
+		method: 'post',
+		data,params
+	})
+  };
+  // 详情接口
+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
 	})
-  };
\ No newline at end of file
+}
+// 地图
+export const getMapInfoAPI = (jobId) => {
+    return request({
+		url: `/blade-resource/attach/getAttachInfoByJobId`,
+		method: 'get',
+		params: {
+			jobId,
+		  },
+	})
+  };
+
+//编辑文件名
+export const updataTitleApi = (data) => {
+	return request({
+		url: `/blade-resource/attach/updateFileName`,
+		method: 'post',
+		params:data
+	})
+}
\ No newline at end of file

--
Gitblit v1.9.3