1404/11/08-store style

This commit is contained in:
2026-01-28 11:17:48 +03:30
parent 1d6f342ff1
commit 00c2e38ab9
23 changed files with 2047 additions and 127 deletions
+3
View File
@@ -6,6 +6,9 @@ import type { PWallet, Wallet } from '@/models/wallet'
export const getProducts = async (): Promise<any> => {
return await useAxios.get<Product[]>(`/customer/product/list`)
}
export const getProductById = async ( id:number|null): Promise<any> => {
return await useAxios.get<Product[]>(`/customer/product/list/${id}`)
}
export const getProductInventory = async (): Promise<any> => {
return await useAxios.post<PInventory[]>(`/customer/wallet/product/table`)
}