u
This commit is contained in:
1 parent
62550b8182
commit
3e172a1d53
26 files changed
+4820
-413
No files matched your search
@@ -13,7 +13,7 @@ export function loginApi(params: LoginParams) {
|
||||
}
|
||||
|
||||
interface GetaliyunkeyParams {
|
||||
bucket: string
|
||||
bucketName: string
|
||||
}
|
||||
|
||||
export function getaliyunkeyApi(params: GetaliyunkeyParams) {
|
||||
@@ -21,11 +21,12 @@ export function getaliyunkeyApi(params: GetaliyunkeyParams) {
|
||||
}
|
||||
|
||||
interface AliyunpluploadParams {
|
||||
despathfile: string
|
||||
myfilename: string
|
||||
size: string
|
||||
tablename: string
|
||||
sid: string
|
||||
father: number
|
||||
mx_xh: number
|
||||
mx_filename: string
|
||||
mx_filesize: string
|
||||
mx_fileext: string
|
||||
mx_mapfilename: string
|
||||
mx_moduleid: string
|
||||
mx_cate_id: string
|
||||
}
|
||||
@@ -41,6 +42,14 @@ export function recognizeOcrBoxApi(params: OcrBoxRequest) {
|
||||
return httpPost(`/ocr/box`, params)
|
||||
}
|
||||
|
||||
export function deleteFileApi(id) {
|
||||
return httpPost(`file/delete`, {
|
||||
id,
|
||||
tableName: 'bf_file',
|
||||
bucketName: aliyunBucket,
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteAliyunFileApi(fileUrl) {
|
||||
return httpPost(`/file/deleteAliyunFile`, {
|
||||
bucketName: aliyunBucket,
|
||||
|
||||
Reference in new issue
Block a user