const http = require('../http') /* 获取资源类型列表 */ export function getResourceType(data){ return http.get('Resource/ResourceTypes',data) } /* 获取资源详情列表 */ export function getResourceDetail(data){ return http.get('Resource/ResourceDetails',data) } /* 获取教学资源 */ export function getSpecialLevelList(data){ return http.get('Resource/SpecialLevelList',data) } /* 获取作业项目列表 */ export function getHomeWorkType(data){ return http.get('HomeWork/HomeWorkCategoryList',data) } /* 获取作业详情 */ export function getHomeWorkDetail(homeWorkId){ return http.get('HomeWork/HomeWorkDetailsByTeacher',{homeWorkId}) } /* 获取作业详情 */ export function creatHomeWork(data){ return http.post('HomeWork/AddHomeWork',data) } /* 获取班级列表 */ export function getClassList(data){ return http.get('Student/ClassListbyTeacher',data) } /* 获取学生列表 */ export function getStudentList(data){ return http.get('Student/StudentListByClassId',data) } /* 获取统计接口项目列表 */ export function getProjectList(gradeId){ return http.get('Teacher/CategoryList',{ gradeId }) } /* 获取班级统计 */ export function getTongji(data){ return http.get('Teacher/DataStatistics',data) } /* 获取学生统计 */ export function getStudentTongji(data){ return http.get('Teacher/DataStatisticsDetails',data) } // /* // 获取资源类型 // */ // export function getResourceType(data){ // return http.get('Resource/ResourceTypes',data) // }