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

124 lines
2.9 KiB
TypeScript
Raw Normal View History

2025-04-30 01:43:23 +08:00
// 参数接口
// 响应接口
2025-05-16 16:16:41 +08:00
import { get, post } from "@/utils/request";
2025-04-30 01:43:23 +08:00
2025-05-16 16:16:41 +08:00
export const loginRegisterJzApi = async (params: any) => {
return await post("/open/login/registerJz", params);
2025-04-30 01:43:23 +08:00
};
2025-06-24 20:33:42 +08:00
export const glxsApi = async (params: any) => {
return await post("/open/login/glxs", params);
};
2025-05-16 16:16:41 +08:00
export const xkAddXkqdApi = async (params: any) => {
return await post("/mobile/xk/addXkqd", params);
2025-04-30 01:43:23 +08:00
};
2025-05-16 16:16:41 +08:00
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 kcjhFindKcjhByKcIdApi = async (params: any) => {
return await get("/api/kcjh/findKcjhByKcId", params);
2025-04-30 01:43:23 +08:00
};
2025-05-30 17:22:30 +08:00
export const xkgzsApi = async (params: any) => {
return await get("/api/gzs/findPage", 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);
};
2025-06-14 22:28:04 +08:00
2025-06-30 23:44:07 +08:00
// 获取配置:家长端是否显示分钟数
export const getJzdShowFs = async (params: any) => {
return await get("/api/comConfig/getJzdShowFs");
};
/**
*
*/
export const cmsArticlePageApi = async (params: any) => {
return await get("/api/cms/article/findPage", params);
};
2025-06-14 22:28:04 +08:00
/**
*
*/
export const dqpkApi = async () => {
return await get("/mobile/jz/pkkb/dqpk" );
};
/**
*
*/
export const drpkkbApi = async (params: any) => {
return await get("/mobile/jz/pkkb/drpkkb", params);
};
/**
*
*/
2025-06-30 23:44:07 +08:00
export const xsKxApi = async (params: any) => {
return await get("/mobile/jz/xkkc/list", params);
};
2025-06-29 19:24:41 +08:00
/**
2025-06-30 23:44:07 +08:00
*
2025-06-29 19:24:41 +08:00
*/
2025-06-30 23:44:07 +08:00
export const xsYxListApi = async (params: any) => {
return await get("/mobile/jz/xsxk/list", params);
2025-06-29 19:24:41 +08:00
};
/**
*
*/
export const xsKsccApi = async (params: any) => {
return await get("/mobile/jz/kscc", params);
};
/**
*
*/
export const xsKscjApi = async (params: any) => {
return await get("/mobile/jz/kscj", params);
};
2025-06-29 15:28:57 +08:00
/**
*
*/
export const jzXkQkjApi = async (params: any) => {
return await post("/mobile/jz/xk/qk", 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);
};
2025-06-29 15:28:57 +08:00
/**
* 退
*/
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);
};