zhxy-jsd/src/api/base/xxtsApi.ts

21 lines
614 B
TypeScript
Raw Normal View History

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);
2025-10-15 20:21:34 +08:00
};
// 更新消息状态为已阅
export const xxtsUpdateDbZtApi = async (id: string) => {
return await post("/api/xxts/updateDbZt", id);
};