This commit is contained in:
oneao committed 2026-03-24 17:29:55 +08:00
1 parent 401a6719f6
commit b7f50f3ccb
22 files changed
+1595 -343

No files matched your search

@@ -42,9 +42,9 @@ export function recognizeOcrBoxApi(params: OcrBoxRequest) {
return httpPost(`/ocr/box`, params)
}
export function deleteFileApi(id) {
export function deleteFileApi(subid) {
return httpPost(`file/delete`, {
id,
subid,
tableName: 'bf_file',
bucketName: aliyunBucket,
})
@@ -56,3 +56,19 @@ export function deleteAliyunFileApi(fileUrl) {
mx_mapfilename: fileUrl,
})
}
interface SaveObjectParams {
tableName: string
keyField: string
inserts: any[]
updates: any[]
deletes: any[]
}
export function saveObjectApi(params: SaveObjectParams[]) {
return httpPost('/data/saveObject', params)
}
export function getUniqueIdApi() {
return httpPost<number>('/data/getUniqueId')
}