| | |
| | | import request from '@/config/axios' |
| | | |
| | | import { config } from '@/config/axios/config' |
| | | |
| | | const { plat_url} = config |
| | | |
| | | export interface AppVO { |
| | | id: number |
| | | appCode: string |
| | |
| | | return request.get({ url: '/system/app/get?id=' + id }) |
| | | } |
| | | |
| | | // 查询应用列表 |
| | | // 查询所拥有应用列表 |
| | | export const getAppList = () => { |
| | | return request.get({ url: '/system/app/list' }) |
| | | return request.get({ url: plat_url + '/system/auth/get-app-permission' }) |
| | | } |
| | | |
| | | // 查询应用列表 |
| | | export const getAppMenuList = () => { |
| | | return request.get({ url: '/system/app-menu/list' }) |
| | | // 查询所拥有应用菜单列表 |
| | | export const getAppMenuList = (id) => { |
| | | return request.get({ url: plat_url + '/system/auth/get-app-menu-permission?id=' + id }) |
| | | } |
| | | |
| | | // 新增 |