This commit is contained in:
zlwu committed 2026-10-02 09:28:00 +08:00
1 parent 7f1f60e259
commit c55f22a603
855 files changed
+4758807 -1373323

No files matched your search

+12 -12
View File
@@ -53,12 +53,14 @@ export const fuelRegisterApi = {
params: { mineOnly: true }
})
),
cancel: (id) =>
db.post(
`/transport/vehicle-fuel-register/${id}/cancel`,
{},
{ params: { mineOnly: true } }
)
cancel: (id, data = {}) =>
db.post(`/transport/vehicle-fuel-register/${id}/cancel`, data, {
params: { mineOnly: true }
}),
restore: (id) =>
db.post(`/transport/vehicle-fuel-register/${id}/restore`, {}, {
params: { mineOnly: true }
})
}
function unwrapData(data) {
@@ -119,12 +121,10 @@ export const vehicleRechargeApplyApi = {
{},
{ params: { mineVehicles: true } }
),
cancel: (id) =>
db.post(
`/transport/vehicle-recharge-apply/${id}/cancel`,
{},
{ params: { mineVehicles: true } }
),
cancel: (id, data = {}) =>
db.post(`/transport/vehicle-recharge-apply/${id}/cancel`, data, {
params: { mineVehicles: true }
}),
withdraw: (id) =>
db.post(
`/transport/vehicle-recharge-apply/${id}/withdraw`,