Product page

This commit is contained in:
CHIEFSOFT\ameye
2024-12-14 12:58:32 -05:00
parent 82ee55800a
commit 3fc9949023
5 changed files with 25 additions and 3 deletions
+5 -1
View File
@@ -29,7 +29,7 @@ const postAuxEnd = (path, postData, media=false) => {
})
}
const getAuxEnd = (path) => {
const getAuxEnd = (path, reqData=[]) => {
const basePath = process.env.REACT_APP_MAIN_API
return axios.get(`${basePath}${path}`).then(res => {
return res
@@ -65,3 +65,7 @@ export const recentActions = () => {
export const productData = () => {
return getAuxEnd(`/panel/account/products`)
}
export const MyProductData = () => {
return getAuxEnd(`/panel/myproduct/dash`)
}