From 1ea7a94afe8369c797e2bc451c842c7c0f41d31d Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期五, 08 九月 2023 15:35:25 +0800
Subject: [PATCH] initial commit

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

diff --git a/src/api/login.js b/src/api/login.js
index b117b4d..c0a0d72 100644
--- a/src/api/login.js
+++ b/src/api/login.js
@@ -29,4 +29,20 @@
         url:'/sys/districtInfo/all',
         method:'get',
     })
+}
+
+// 获取首页统计数据
+export function getBasicData(){
+    return request({
+        url:'/statistics/basicData',
+        method:'get',
+    })
+}
+
+// 获取首页统计数据
+export function getWarningData(){
+    return request({
+        url:'/statistics/warningIndex',
+        method:'get',
+    })
 }
\ No newline at end of file

--
Gitblit v1.9.2