import http from "./config";


//创建考试信息接口
export const createExamination = (obj) => http.post('/examination/createExamination',obj);
//根据Id删除考试信息
export const deleteExaminationById = (obj) => http.post('/examination/deleteExaminationById',{params:obj});
//根据ID获取考试信息详情
export const queryExaminationDetailById = (obj) => http.post('/examination/queryExaminationDetailById',{params:obj});
//获取考试试卷
// export const queryExaminationPaper = (obj) => http.post('/examination/queryExaminationPaper',obj);
export const queryExaminationPaper = (obj) => http.post('/examination/queryExaminationPaperList',obj);
//修改考试信息接口
export const updateExamination = (obj) => http.post('/examination/updateExamination',obj,{
    header:{
        'token': '123',
        'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8',
    }
});