From d8944c4764c3fc4b7baf6b5c1586cf17c88b0bb1 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期三, 23 三月 2022 22:38:20 +0800
Subject: [PATCH] 修改ztree复选框默认为父子联动

---
 src/api/system.ts |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/src/api/system.ts b/src/api/system.ts
index 301d097..b7e5f90 100644
--- a/src/api/system.ts
+++ b/src/api/system.ts
@@ -517,3 +517,18 @@
   })
 }
 
+export const getAuthInfo = () => {
+  return request({
+    url: "/data/api-v/sysset/showAuthInfo",
+    method: "get"
+  })
+}
+
+export const setAuthInfo = (data: any) => {
+  return request({
+    url: "/data/api-v/sysset/setAuthInfo",
+    method: "post",
+    data
+  })
+}
+

--
Gitblit v1.8.0