mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
少一个接口,增加一下
This commit is contained in:
@@ -21,8 +21,14 @@ const treeList = function (query) {
|
||||
const listByParent = function (parentId) {
|
||||
return ajax.get('/xboe/org/list-by-parent?parentId='+parentId);
|
||||
}
|
||||
export default {
|
||||
treeList,
|
||||
listByParent
|
||||
|
||||
const getSimple = function (id) {
|
||||
return ajax.get('/xboe/org/simple?id='+id);
|
||||
}
|
||||
|
||||
export default {
|
||||
treeList,
|
||||
listByParent,
|
||||
getSimple
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user