增加了文件删除功能和前端日期格式化功能
This commit is contained in:
@@ -13,4 +13,19 @@ export const getFileList = (data) => {
|
||||
method: "post",
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// @Tags FileUploadAndDownload
|
||||
// @Summary 删除文件
|
||||
// @Security ApiKeyAuth
|
||||
// @Produce application/json
|
||||
// @Param data body dbModel.FileUploadAndDownload true "传入文件里面id即可"
|
||||
// @Success 200 {string} json "{"success":true,"data":{},"msg":"返回成功"}"
|
||||
// @Router /fileUploadAndDownload/deleteFile [post]
|
||||
export const deleteFile = (data) => {
|
||||
return service({
|
||||
url: "/fileUploadAndDownload/deleteFile",
|
||||
method: "post",
|
||||
data
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user