import { get, post, downLoadByBlob } from "../common/http";
import base from "../common/base";

function url(url) {
    return base.prefix + url;
}

export const queryStudentErrorQuestion = (data) => get(url("/api/v1/studentError/queryStudentErrorQuestion"), data);
export const markStudentErrorQuestion = (data) => get(url("/api/v1/studentError/markStudentErrorQuestion"), data);
export const downloadStudentErrorQuestion = (data) => downLoadByBlob(url("/api/v1/studentError/downloadStudentErrorQuestion"), data);
export const findStudentCard = (data) => get(url("/api/v1/studentData/findStudentCard"), data);