Skip to content

Commit

Permalink
feat : update store.service.js (#74)
Browse files Browse the repository at this point in the history
총 할인 금액 API 추가
  • Loading branch information
JungYeonHwi committed Oct 9, 2023
1 parent 97849b9 commit 5803501
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion services/store.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ const getSearchList = async(searchKey) => {
}
}

const getDiscountTotal = async() => {
try {
const data = await storeApi.getDiscountTotal();
return data;
} catch (error) {
throw error;
}
}

const storeService = {
getDailyDiscountStore,
getMapStoreList,
Expand All @@ -80,7 +89,8 @@ const storeService = {
submitOrder,
submitReview,
getOrder,
getSearchList
getSearchList,
getDiscountTotal
}

export default storeService;

0 comments on commit 5803501

Please sign in to comment.