From c72a20727b865fdb8a9fd9a26b3f4f79ebee53bf Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Wed, 24 Jan 2024 08:53:52 +0800
Subject: [PATCH] 添加字段
---
src/api/list.js | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/src/api/list.js b/src/api/list.js
index 5de5cff..1b9fef7 100644
--- a/src/api/list.js
+++ b/src/api/list.js
@@ -53,7 +53,19 @@
})
}
+// 根据id获取叫应信息
+export function getResponseById(data){
+ return request({
+ url: '/published/warninfo/responses/page',
+ method: 'post',
+ data: data
+ })
+}
-
-
-
+// 删除文件
+export function deleteFile(id){
+ return request({
+ url: '/attachment/delete/' + id,
+ method: 'get'
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.2