This commit is contained in:
xiaozhiyong
2023-02-21 13:47:04 +08:00
parent 96233ead10
commit 955ab6840c
8 changed files with 164 additions and 197 deletions

View File

@@ -14,8 +14,22 @@ const get = (query) => {
const getByCompanyId = (query) => {
return request.get(`/oil-finance/oilCompanyAccount/getByCompanyId/${query}`);
};
// 新增
const save = (params) => {
return request.postJson("/oil-finance/oilCompanyAccountReverse/save", params);
};
// 修改
const update = (params) => {
return request.postJson(
"/oil-finance/oilCompanyAccountReverse/update",
params
);
};
export default {
getByPage,
get,
getByCompanyId,
save,
update,
};