import { get, post } from "@/utils/request"; /** * 保存课业辅导巡查 */ export const kyXcSaveApi = async (params: any) => { return await post("/api/kyXc/save", params); }; /** * 获取课业辅导巡查分页数据 */ export const getKyXcPageApi = async (params: any) => { return await get("/api/kyXc/findPage", params); }; /** * 根据ID获取课业辅导巡查详情 */ export const getKyXcByIdApi = async (id: string) => { return await get(`/api/kyXc/${id}`); }; /** * 删除课业辅导巡查 */ export const deleteKyXcApi = async (id: string) => { return await post(`/api/kyXc/delete/${id}`); };