import { get, post } from "@/utils/request"; // 根据ID获取消息推送详情 export const xxtsFindByIdApi = async (params: any) => { return await get("/api/xxts/findById", params); }; // 获取消息推送列表(替代待办) export const xxtsListApi = async (params: any) => { return await get("/api/xxts/findPage", params); }; // 添加更新消息推送 export const xxtsSaveApi = async (params: any) => { return await post("/api/xxts/save", params); }; // 更新消息状态为已阅 export const xxtsUpdateDbZtApi = async (id: string) => { return await post("/api/xxts/updateDbZt", id); };