From 4db1eedc6a250b17397675f22274c7dde39bfc20 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期四, 05 十二月 2024 10:52:33 +0800
Subject: [PATCH] 新增表单构建功能

---
 src/api/system/user.js |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/api/system/user.js b/src/api/system/user.js
index ad227f9..6d98f63 100644
--- a/src/api/system/user.js
+++ b/src/api/system/user.js
@@ -105,6 +105,7 @@
   return request({
     url: '/system/user/profile/avatar',
     method: 'post',
+    headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
     data: data
   })
 }
@@ -125,3 +126,11 @@
     params: data
   })
 }
+
+// 鏌ヨ閮ㄩ棬涓嬫媺鏍戠粨鏋�
+export function deptTreeSelect() {
+  return request({
+    url: '/system/user/deptTree',
+    method: 'get'
+  })
+}

--
Gitblit v1.9.3