增加了文件删除功能和前端日期格式化功能

This commit is contained in:
pixel
2019-11-24 11:13:55 +08:00
parent ccb7e88293
commit 0499355a39
6 changed files with 72 additions and 8 deletions
@@ -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
})
}