changes of giftCard page

This commit is contained in:
2026-10-20 12:11:46 +03:30
parent 2927d64c64
commit e5b3d0c931
55 changed files with 1495 additions and 140 deletions
+5
View File
@@ -10,5 +10,10 @@ export const getGiftCardTable = async (params: TableInput) =>
export const createGiftCard = async (obj: GiftcardInput) =>
await useAxios.post<Giftcard>(`/admin/giftcard/generate`, obj)
export const updateGiftCard = async (id: number, obj: GiftcardInput) =>
await useAxios.put<Giftcard>(`/admin/giftcard/${id}`, obj)
export const deleteGiftCard = async (id: number) => await useAxios.delete(`/admin/giftcard/${id}`)