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

27 lines
650 B
TypeScript
Raw Normal View History

2025-12-02 20:25:02 +08:00
// 生日贺卡相关API接口
import { get, post } from "@/utils/request";
/**
*
* @param params { id: 推送记录ID }
*/
export const srGetCardDetailApi = async (params: { id: string }) => {
return await get("/api/srTsRecord/getCardDetail", params);
};
/**
*
* @param params { xxtsId: 消息推送ID }
*/
export const srMarkAsViewedApi = async (params: { xxtsId: string }) => {
return await post("/api/srTsRecord/markAsViewed", params);
};
/**
*
*/
export const srFindPageApi = async (params: any) => {
return await get("/api/srTsRecord/findPage", params);
};