Commit 2d5fd4b0 authored by Hagsn3's avatar Hagsn3

改接口名

parent 1f074a0b
...@@ -6,8 +6,8 @@ import Qs from 'qs' ...@@ -6,8 +6,8 @@ import Qs from 'qs'
* 2.删除部门 * 2.删除部门
* 3.修改部门 * 3.修改部门
* 4.修改部门状态 * 4.修改部门状态
* 5.分页查询部门列表 * 5.查询部门列表
* 6.查询部门列表 * 6.分页查询部门列表
* 7.查询部门列表(排除节点) * 7.查询部门列表(排除节点)
* 8.查询部门详细 * 8.查询部门详细
* ----------------- * -----------------
...@@ -63,18 +63,18 @@ export function statusChange(data) { ...@@ -63,18 +63,18 @@ export function statusChange(data) {
}) })
} }
// 5.分页查询部门列表 // 5.查询部门列表
export function listDept(query) { export function listDept(query) {
return request({ return request({
url: '/system/dept/list', url: '/system/dept/listAll',
method: 'get', method: 'get',
params: query params: query
}) })
} }
// 6.查询部门列表 // 6.分页查询部门列表
export function getListDept() { export function getListDept() {
return request({ return request({
url: 'system/role/listAll', url: 'system/role/list',
method: 'get' method: 'get'
}) })
} }
......
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