From 67ff22602500a4dae22e638ec4e04f0a287c7c31 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Sun, 04 Feb 2024 08:38:29 +0800
Subject: [PATCH] 登录调取接口
---
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