Commit d8499088 by wq

8.20

parent 7db8bd4e
...@@ -2,14 +2,16 @@ import axios from '../axios' ...@@ -2,14 +2,16 @@ import axios from '../axios'
export function updateSysmenu({ id, enable, type }) { export function updateSysmenu({ id, enable, type }) {
return axios.post('/sysMenu/update', null, { return axios.post('/sysMenu/update', null, {
params: { id, enable, type }, params: { id, enable, type }
}) })
} }
export function getAllMenusTree() { export function getAllMenusTree() {
return axios.get('sysSaasMenu/getAllMenusTree') return axios.get('sysSaasMenu/getAllMenusTree')
} }
export function getApplication() {
return axios.get('businessAppInfo/getAppInfo')
}
export function addMenu(data) { export function addMenu(data) {
return axios.post('sysSaasMenu/add', data) return axios.post('sysSaasMenu/add', data)
} }
...@@ -24,6 +26,6 @@ export function deleteMenu(id) { ...@@ -24,6 +26,6 @@ export function deleteMenu(id) {
export function getSimpleByPage() { export function getSimpleByPage() {
return axios.post('sys/domain/getSimpleByPage', { return axios.post('sys/domain/getSimpleByPage', {
currentPage: 1, currentPage: 1,
pageSize: 100, pageSize: 100
}) })
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment