From fd9ea2f5bbcc6e2ca2d83f659f5784ccd8ea8b8f Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Wed, 1 Oct 2025 21:32:34 +0900 Subject: [PATCH] =?UTF-8?q?feat(can):=20=EC=BA=94=20=EB=93=B1=EB=A1=9D?= =?UTF-8?q?=EC=8B=9C=20=EA=B2=B0=EC=A0=9C=20=ED=99=94=ED=8F=90=EB=8B=A8?= =?UTF-8?q?=EC=9C=84=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/can.js | 4 ++-- src/views/Can/CanManagement.vue | 24 +++++++++++++++++++----- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/src/api/can.js b/src/api/can.js index 8580630..ce50309 100644 --- a/src/api/can.js +++ b/src/api/can.js @@ -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); } diff --git a/src/views/Can/CanManagement.vue b/src/views/Can/CanManagement.vue index 6aba112..e89d78f 100644 --- a/src/views/Can/CanManagement.vue +++ b/src/views/Can/CanManagement.vue @@ -21,7 +21,7 @@