From c6177c2463d9ff59b886d7c7952e99cd2c6d353b Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期五, 12 一月 2024 15:09:03 +0800
Subject: [PATCH] 修复弹窗bug

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

diff --git a/src/api/user.js b/src/api/user.js
index a8df775..819c7de 100644
--- a/src/api/user.js
+++ b/src/api/user.js
@@ -191,4 +191,25 @@
         method: 'post',
         data: data
     })
-}
\ No newline at end of file
+}
+
+//下载区划对照表
+export function downLoadArea(){
+    return request({
+        url: '/sys/districtInfo/getDistrictInfoExcel',
+        method: 'get',
+        responseType: 'blob'
+    })
+}
+
+// 导入用户表
+export function importUserFile(data){
+    return request({
+        headers: {
+            "Content-Type": "multipart/form-data",
+        },
+        url: '/account/user/importNew',
+        method: 'post',
+        data: data
+    })
+}

--
Gitblit v1.9.2