This commit is contained in:
oneao committed 2026-03-23 17:29:20 +08:00
1 parent 62550b8182
commit 3e172a1d53
26 files changed
+4820 -413

No files matched your search

+27 -3
View File
@@ -95,12 +95,16 @@ export function saveObjectKeysApi(data) {
return httpPost("/data/saveObjectKeys", data);
}
export function deleteModuleApi({ moduleId, Id }) {
return httpPost("/data/deleteModule", {
export function deleteObjectApi({ moduleId, id }) {
return httpPost("/data/deleteObject", {
moduleId,
Id,
id,
});
}
export function getUniqueIdApi() {
return httpPost("/data/getUniqueId");
}
// ============================= data =============================
// ============================= column =============================
@@ -138,3 +142,23 @@ export function updateColumnsApi(columns) {
return httpPost("/column/updateColumns", columns);
}
// ============================= column =============================
// ============================= file =============================
export function getAliyunKeyApi() {
return httpPost("/file/getAliyunKey", {
bucketName: import.meta.env.PUBLIC_ALIYUN_BUCKET,
});
}
export function insertFileApi(params) {
return httpPost("/file/insert", params);
}
export function deleteFileApi({ id, tableName }) {
return httpPost("/file/delete", {
id,
tableName,
bucketName: import.meta.env.PUBLIC_ALIYUN_BUCKET,
});
}
// ============================= file =============================