From 57ffebab5fded6f5236bd1b40c4b4e7a6d4ae07f Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期三, 31 七月 2024 09:50:09 +0800
Subject: [PATCH] 驱动下载

---
 src/api/list.js |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/api/list.js b/src/api/list.js
index 806dd84..b1d77e6 100644
--- a/src/api/list.js
+++ b/src/api/list.js
@@ -62,5 +62,27 @@
     })
 }
 
+// 删除文件
+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