1405/01/20-add giftcard & discount

This commit is contained in:
2026-04-09 13:58:37 +03:30
parent 8919374055
commit 4a9cb2a944
6 changed files with 251 additions and 100 deletions
+6
View File
@@ -0,0 +1,6 @@
import useAxios from "@/utils/useAxios";
//customer
export const registerCodeGiftCard = async (code: string) => await useAxios.post(`/customer/giftcard/use`, {code:code})
export const registerCodeDiscount = async (code: string) => await useAxios.post(`customer/validateDiscount`, {code:code})