From c72a20727b865fdb8a9fd9a26b3f4f79ebee53bf Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期三, 24 一月 2024 08:53:52 +0800 Subject: [PATCH] 添加字段 --- src/api/list.js | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/api/list.js b/src/api/list.js index 806dd84..1b9fef7 100644 --- a/src/api/list.js +++ b/src/api/list.js @@ -62,5 +62,10 @@ }) } - - +// 删除文件 +export function deleteFile(id){ + return request({ + url: '/attachment/delete/' + id, + method: 'get' + }) +} \ No newline at end of file -- Gitblit v1.9.2