zhxy-jzd/src/api/base/xkApi.ts

100 lines
2.2 KiB
TypeScript
Raw Normal View History

2025-08-06 20:29:45 +08:00
// 选课相关接口
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");
};