import request from '/@/utils/request';

/**
 * 获取学生评优评先列表
 * @param query
 */
export const fetchList = (query?: any) => {
  return request({
    url: '/stuwork/rewardstudent/getList',
    method: 'get',
    params: query
  });
};

/**
 * 导出学生评优评先
 * @param query
 */
export const exportExcel = (query?: any) => {
  return request({
    url: '/stuwork/rewardstudent/export',
    method: 'get',
    params: query,
    responseType: 'blob'
  });
};

