hse修改接口

This commit is contained in:
Teo
2025-08-29 16:51:40 +08:00
parent e99e27c8d1
commit b0abb5f47b
3 changed files with 5 additions and 5 deletions

View File

@ -12,9 +12,9 @@ export function listPost(query: { pageNum: number; pageSize: number }): AxiosPro
}
// 查询岗位列表
export function listTreeByProject(projectId: string): AxiosPromise<PostVO[]> {
export function listTreeByProject(): AxiosPromise<PostVO[]> {
return request({
url: '/system/dept/list/treeByProjectId/' + projectId,
url: '/system/dept/list/tree',
method: 'get'
});
}