26/8/1404
This commit is contained in:
+4
-2
@@ -1,5 +1,5 @@
|
||||
import useAxios from '@/utils/useAxios'
|
||||
import type { Transfer, Verification } from '@/models/physicalreceive'
|
||||
import type { Transfer, TransferList, Verification } from '@/models/physicalreceive'
|
||||
|
||||
export const cardVerification = async (obj: Verification): Promise<any> => {
|
||||
return await useAxios.post(`/customer/vc_validate`, obj)
|
||||
@@ -9,4 +9,6 @@ export const transferRegister = async (obj: Transfer): Promise<any> => {
|
||||
return await useAxios.post(`/customer/havale`, obj)
|
||||
}
|
||||
|
||||
export const getTransfers = async () => await useAxios.get<Transfer[]>(`/customer/price_triggers`)
|
||||
export async function getTransfers(payload: TransferList) {
|
||||
return await useAxios.post(`customer/havale_list` , payload)
|
||||
}
|
||||
Reference in New Issue
Block a user