feat(web-admin): add withdraw action on vehicle recharge apply

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-09-29 12:16:35 +08:00
1 parent 7a4ecc34e0
commit 94e4ef6f8e
2 files changed
+68

No files matched your search

+2
View File
@@ -1820,6 +1820,8 @@ export const vehicleRechargeApplyApi = {
request.post<VehicleRechargeApply>(`/transport/vehicle-recharge-apply/${id}/submit`),
cancel: (id: string) =>
request.post<VehicleRechargeApply>(`/transport/vehicle-recharge-apply/${id}/cancel`),
withdraw: (id: string) =>
request.post<VehicleRechargeApply>(`/transport/vehicle-recharge-apply/${id}/withdraw`),
delete: (ids: string) => request.delete(`/transport/vehicle-recharge-apply/${ids}`),
pendingOptions: () =>
request.get<VehicleRechargeApplyOption[]>('/transport/vehicle-recharge-apply/pending-options')