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

44 lines
856 B
TypeScript
Raw Normal View History

2025-07-31 23:42:12 +08:00
import { get, post } from "@/utils/request";
/**
*
*/
export const xcXmFindPageApi = async (params: any) => {
return await get("/api/xcXm/findPage", params);
};
/**
* /
*/
export const xcXmSaveApi = async (params: any) => {
return await post("/api/xcXm/save", params);
};
/**
*
*/
export const xcXmLogicDeleteApi = async (params: any) => {
return await post("/api/xcXm/logicDelete", params);
};
/**
* id查询
*/
export const xcXmFindByIdApi = async (params: any) => {
return await get("/api/xcXm/findById", params);
};
/**
*
*/
export const xcXmFindAllApi = async () => {
return await get("/api/xcXm/findAll");
};
/**
*
*/
export const xcXmFindByXcLxApi = async (xcLx: string) => {
return await get("/api/xcXm/findByXcLx", { xcLx });
};