// 参数接口 // 响应接口 import { get, post } from "@/utils/request"; export const loginRegisterJzApi = async (params: any) => { return await post("/open/login/registerJz", params); }; export const glxsApi = async (params: any) => { return await post("/open/login/glxs", params); }; export const kcjhFindKcjhByKcIdApi = async (params: any) => { return await get("/api/kcjh/findKcjhByKcId", params); }; export const xkgzsApi = async (params: any) => { return await get("/api/gzs/findPage", params); }; /** * 获取当前学期和周次 */ export const gzlGetDqXqAndZcApi = async () => { return await get("/api/gzl/getDqXqAndZc"); }; // 获取配置:家长端是否显示分钟数 export const getJzdShowFs = async () => { return await get("/api/comConfig/getJzdShowFs"); }; /** * 当前学期排课公共配置(排课设置、排课周次、排课时间) */ export const cmsArticlePageApi = async (params: any) => { return await get("/api/cms/article/findPage", params); }; /** * 当前学期排课公共配置(排课设置、排课周次、排课时间) */ 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); }; /** * 查询学生考试场次 */ 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); }; /** * 家长接龙查询 */ export const mobilejzjllistApi = async (params: any) => { const res = await get("/mobile/jl/jzList", params); return res.result; }; export const getByJlIdApi = async (params: any) => { const res = await get("/mobile/jl/getByJlId", params); return res.result; }; // 推送清单相关API // 根据接龙ID获取学生信息 export const jlzxFindByJlParamsApi = async (params: { jlId: string }) => { return await get("/api/jlzx/findByJlParams", params); }; /** * 家长接龙完成 */ export const relayFinishApi = async (params: any) => { return await post('/mobile/jl/relay/finish', params); }; /** * 发起学生请假 */ export const jzAddXsQjApi = async (params: any) => { return await post("/api/xsQj/save", params); }; /** * 查询学生请假列表 */ export const jzXsQjListApi = async (params: any) => { return await get("/api/xsQj/findPage", params); }; /** * 查询学生请假流程处理历史 */ export const jzXsQjActivitiHistoryApi = async (params: any) => { return await get("/activiti/history/historicFlow", params); }; /** * 获取用户最新信息(包含学生信息) */ export const getUserLatestInfoApi = async () => { return await get("/open/login/getLatestInfo"); };