import http from '@/request/http.js'
export default {
    // 获取组织架构
    getOrganizeTreeWithUser: () => http.post('/api/Organize/OrganizeTreeWithUser'),
    // 获取自定义分组
    getCustomGroupWithPeople: () => http.get('/api/CustomGroup/GetCustomGroupWithPeople'),
    // 获取学生端组织架构
    getGradeStructureWithStudent: () => http.post('/api/Student/GradeStructureWithStudent'),
    // 获取学生端组织架构（根据角色）
    getGradeStructureWithStudentByPermission: params => http.post('/api/Student/GradeStructureWithStudentByPermission', params)
}
