import service from "@/utils/http"; export function queryInfo(params) { return service.request({ url: "api/v1/educational/studentInfo/queryInfo", method: "get", params, }); } export function add(data) { return service.request({ url: "api/v1/educational/studentInfo/add", method: "post", data, headers: { "Content-Type": "application/json;charset=UTF-8" }, }); } export function edit(data) { return service.request({ url: "api/v1/educational/studentInfo/edit", method: "put", data, headers: { "Content-Type": "application/json;charset=UTF-8" }, }); } export function del(params) { return service.request({ url: "api/v1/educational/studentInfo/delete/" + params, method: "delete", params: {}, }); } export function batchDelete(params) { return service.request({ url: "api/v1/educational/studentInfo/batchDelete", method: "delete", data: params, headers: { "Content-Type": "application/json;charset=UTF-8" }, }); } export function getInfo(val) { return service.request({ url: "api/v1/educational/studentInfo/detail?studentInfoId=" + val, method: "get", params: {}, }); }