import request from '@/utils/request'

// 查询学生请假信息
export function getlistStuLeave(query) {
  return request({
    url: '/school/studentLeave/teacherClassList',
    method: 'get',
    params: query
  })
}

// 查询学生请假信息详情
export function getStuLeaveOne(id) {
  return request({
    url: '/school/studentLeave/queryOne/' + id,
    method: 'get'
  })
}
