feat(can): 캔 등록시 결제 화폐단위 추가

This commit is contained in:
Yu Sung
2025-10-01 21:32:34 +09:00
parent 3c28367be9
commit fd9ea2f5bb
2 changed files with 21 additions and 7 deletions

View File

@@ -8,8 +8,8 @@ async function getCans() {
return Vue.axios.get('/can');
}
async function insertCan(can, rewardCan, price) {
const request = {can: can, rewardCan: rewardCan, price: price}
async function insertCan(can, rewardCan, price, currency) {
const request = {can: can, rewardCan: rewardCan, price: price, currency}
return Vue.axios.post('/admin/can', request);
}