From fa3d2503f8c34049159058a19e941192e47fb89e Mon Sep 17 00:00:00 2001
From: dongyukun <1208714201@qq.com>
Date: 星期四, 02 一月 2025 14:19:28 +0800
Subject: [PATCH] 调度模型下发数据类型字典

---
 src/api/system/app/index.ts |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/api/system/app/index.ts b/src/api/system/app/index.ts
index e5a5fd1..b783842 100644
--- a/src/api/system/app/index.ts
+++ b/src/api/system/app/index.ts
@@ -1,5 +1,4 @@
 import request from '@/config/axios'
-import {TenantExportReqVO} from "@/api/system/tenant";
 
 export interface AppVO {
   id: number
@@ -20,9 +19,19 @@
   createTime: Date
 }
 
-// 查询列表
+// 查询分页列表
 export const getAppPage = (params: PageParam) => {
   return request.get({ url: '/system/app/page', params })
+}
+
+// 查询所拥有应用列表
+export const getAppList = () => {
+  return request.get({ url: '/system/auth/get-app-permission' })
+}
+
+// 查询所拥有应用菜单列表
+export const getAppMenuList = (id) => {
+  return request.get({ url: '/system/auth/get-app-menu-permission?id=' + id })
 }
 
 // 获得
@@ -46,6 +55,6 @@
 }
 
 // 导出
-export const exportApp = (params: TenantExportReqVO) => {
+export const exportApp = (params: AppVO) => {
   return request.download({ url: '/system/app/export-excel', params })
 }

--
Gitblit v1.9.3