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

89 lines
2.0 KiB
TypeScript
Raw Normal View History

2025-08-06 20:29:45 +08:00
// 选课相关接口
import { get, post } from "@/utils/request";
/**
2025-09-02 15:45:06 +08:00
*
2025-08-06 20:29:45 +08:00
*/
2025-09-02 15:45:06 +08:00
export const checkXsXkApi = async (params: any) => {
return await get("/mobile/jz/checkXsXk", params);
2025-08-06 20:29:45 +08:00
};
/**
*
*/
2025-09-02 15:45:06 +08:00
export const getXsXkListApi = async (params: any) => {
return await get("/mobile/jz/getXsXkList", params);
2025-08-06 20:29:45 +08:00
};
/**
*
*/
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 xkqddeleteApi = async (params: any) => {
return await post("/api/xkqd/delete?ids=" + params.ids);
};
export const xkkclxFindAllApi = async () => {
return await get("/api/xkkclx/findByXkkclx");
};
2025-09-02 23:10:03 +08:00
/**
*
* @param params
* @returns
*/
export const getXkkcDetailByIdApi = async (id: string) => {
return await get("/api/xkkc/getXkkcDetailById?id=" + id);
};