zhxy-jsd/src/api/base/xkXcApi.ts
2025-07-31 23:42:12 +08:00

37 lines
691 B
TypeScript

import { get, post } from "@/utils/request";
/**
* 分页查询
*/
export const xkXcFindPageApi = async (params: any) => {
return await get("/api/xkXc/findPage", params);
};
/**
* 新增/修改
*/
export const xkXcSaveApi = async (params: any) => {
return await post("/api/xkXc/save", params);
};
/**
* 删除
*/
export const xkXcLogicDeleteApi = async (params: any) => {
return await post("/api/xkXc/logicDelete", params);
};
/**
* 根据id查询
*/
export const xkXcFindByIdApi = async (params: any) => {
return await get("/api/xkXc/findById", params);
};
/**
* 查询全部
*/
export const xkXcFindAllApi = async () => {
return await get("/api/xkXc/findAll");
};