refactor(api): 重构系统模块API函数命名规范
This commit is contained in:
@@ -35,7 +35,7 @@ export function searchDept(params) {
|
||||
})
|
||||
}
|
||||
|
||||
export function queryDeptSuperiorTree(ids, exclude) {
|
||||
export function searchDeptTree(ids, exclude) {
|
||||
exclude = exclude !== undefined ? exclude : false
|
||||
const data = Array.isArray(ids) ? ids : [ids]
|
||||
return request({
|
||||
@@ -45,4 +45,4 @@ export function queryDeptSuperiorTree(ids, exclude) {
|
||||
})
|
||||
}
|
||||
|
||||
export default { add, edit, del, searchDept, queryDeptSuperiorTree }
|
||||
export default { add, edit, del, searchDept, searchDeptTree }
|
||||
|
||||
Reference in New Issue
Block a user