From 52d175d89b4801cc30c258b93789b783be0bba3b Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期二, 07 二月 2023 10:48:04 +0800
Subject: [PATCH] 菜单

---
 src/api/systemManage/menu/index.ts |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/api/systemManage/menu/index.ts b/src/api/systemManage/menu/index.ts
index 85514f2..bbb0469 100644
--- a/src/api/systemManage/menu/index.ts
+++ b/src/api/systemManage/menu/index.ts
@@ -9,10 +9,16 @@
 export function useMenuApi() {
     return {
         // v2
-        getMenuAdmin: (value?: string) => {
+        // getMenuAdmin: (value?: string) => {
+        //     return request({
+        //         url: import.meta.env.VITE_API_URL + `/auth/menu?projectId= ${value}`,
+        //         method: 'post'
+        //     });
+        // },
+        getMenuAdmin: () => {
             return request({
-                url: import.meta.env.VITE_API_URL + `/auth/menu?projectId= ${value}`,
-                method: 'post'
+                url: import.meta.env.VITE_API_URL + `/sys/console/menu/get/all`,
+                method: 'get'
             });
         },
         // v1

--
Gitblit v1.9.2