From 5bb5c0c4cc1227b0a3f7f4ae926a3e8324022bf9 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Fri, 19 Jul 2024 14:37:01 +0800
Subject: [PATCH] 新增导入
---
src/api/list.js | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
diff --git a/src/api/list.js b/src/api/list.js
index 5de5cff..b1d77e6 100644
--- a/src/api/list.js
+++ b/src/api/list.js
@@ -53,7 +53,36 @@
})
}
+// 根据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'
+ })
+}
+// 获取30天总体用量
+export function getTotalStatistics(){
+ return request({
+ url: '/statistics/sms/countByTime',
+ method: 'get'
+ })
+}
-
+// 获取各地总体用量
+export function getTotalStatisticsByArea(data){
+ return request({
+ url: '/statistics/sms/count',
+ method: 'post',
+ data: data
+ })
+}
\ No newline at end of file
--
Gitblit v1.9.2