import request from '@/utils/request'
export const getDeptTree = (id) => {
    return request({
        url: `/knowledge/commonApi/getDeptData`, method: 'get'
    })
}
export const getUserData = (deptIds,nickName) => {
    return request({
        url: `/knowledge/commonApi/getUserData`,
        method: 'get',
        params:{
            deptIds:deptIds,
            nickName:nickName
        }
    })
}
