// 选课相关接口 import { get, post } from "@/utils/request"; /** * 查询学生选课列表 */ export const xsKxApi = async (params: any) => { return await get("/mobile/jz/xkkc/list", params); }; /** * 学生已选课程列表 */ export const xsYxListApi = async (params: any) => { return await get("/mobile/jz/xsxk/list", params); }; /** * 家长抢课 */ export const jzXkQkjApi = async (params: any) => { return await post("/mobile/jz/xk/qk", params); }; /** * 家长获取抢课到期时间 */ export const jzGetQkExpiredTime = async (params: any) => { return await get("/mobile/jz/xk/getQkExpiredTime", params); }; /** * 家长发起缴费 */ export const jzXkFqJfjApi = async (params: any) => { return await post("/mobile/jz/xk/fqjf", params); }; /** * 家长取消选课,不支付 */ export const jzXkCancelApi = async (params: any) => { return await post("/mobile/jz/xk/cancel", params); }; /** * 家长退课 */ export const jzXkTkjApi = async (params: any) => { return await post("/mobile/jz/xk/tk", params); }; /** * 家长缴费查询 */ export const jzXkJfCxjApi = async (params: any) => { return await post("/mobile/jz/xk/jfcx", params); }; /** * 查询学生当前学期是否选择了对应类型的选课 */ export const checkXsXkByTypeApi = async (params: any) => { return await get("/mobile/jz/xk/checkXsXkByType", params); }; /** * 获取学生选课状态和限制信息 */ export const getXsXkStatusApi = async (params: any) => { return await get("/mobile/jz/xkkc/list", params); }; /** * 选课相关其他接口 */ export const xkAddXkqdApi = async (params: any) => { return await post("/mobile/xk/addXkqd", params); }; export const xkListApi = async (params: any) => { return await get("/mobile/xk/list", params); }; export const xkXkqdApi = async (params: any) => { return await get("/mobile/xk/xkqd", params); }; export const xkxkbmInfoApi = async (params: any) => { return await get("/mobile/xk/xkbmInfo", params); }; export const xkqddeleteApi = async (params: any) => { return await post("/api/xkqd/delete?ids=" + params.ids); }; export const xkkclxFindAllApi = async () => { return await get("/api/xkkclx/findByXkkclx"); };