| | |
| | | import request from '@/config/axios' |
| | | import {TenantExportReqVO} from "@/api/system/tenant"; |
| | | |
| | | export interface AppVO { |
| | | id: number |
| | |
| | | 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 }) |
| | | } |
| | | |
| | | // 获得 |
| | |
| | | } |
| | | |
| | | // 导出 |
| | | export const exportApp = (params: TenantExportReqVO) => { |
| | | export const exportApp = (params: AppVO) => { |
| | | return request.download({ url: '/system/app/export-excel', params }) |
| | | } |