mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 18:06:47 +08:00
2022年5月29日 从svn移到git
This commit is contained in:
25
api/app.js
Normal file
25
api/app.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/**控制台相关的控制数据*/
|
||||
import ajax from '@/utils/xajax.js'
|
||||
|
||||
/**
|
||||
* 初始化门户信息
|
||||
*/
|
||||
const initData = function() {
|
||||
return ajax.get('/xboe/portal/init');
|
||||
}
|
||||
|
||||
//获取router菜单
|
||||
const getRouters = function() {
|
||||
return ajax.post('/xboe/portal/console/routers', data);
|
||||
}
|
||||
|
||||
const getAppRouters = function(orgId) {
|
||||
const data = { orgId }
|
||||
return ajax.post('/xboe/portal/console/approuters', data);
|
||||
}
|
||||
|
||||
export default {
|
||||
initData,
|
||||
getRouters,
|
||||
getAppRouters
|
||||
}
|
||||
Reference in New Issue
Block a user