From 81e6577d11920a45284936f591bd8d076006a919 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期四, 01 八月 2024 13:09:57 +0800
Subject: [PATCH] 修改通讯录

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

diff --git a/src/api/login.js b/src/api/login.js
index 03b659c..c0a0d72 100644
--- a/src/api/login.js
+++ b/src/api/login.js
@@ -21,4 +21,28 @@
         url:'/sys/menu/get/u',
         method:'get',
     })
+}
+
+// 获取区划列表
+export function getDistrictInfo(){
+    return request({
+        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