You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

29 lines
567 B

import { defHttp } from '@/utils/http/axios'
export interface FileVO {
id: number
configId: number
path: string
name: string
url: string
size: string
type: string
createTime: Date
}
export interface FilePageReqVO extends PageParam {
path?: string
type?: string
createTime?: Date[]
}
// 查询文件列表
export function getFilePage(params: FilePageReqVO) {
return defHttp.get({ url: '/infra/file/page', params })
}
// 删除文件
export function deleteFile(id: number) {
return defHttp.delete({ url: `/infra/file/delete?id=${id}` })
}