feat(gift): 받을 주소 관리 및 카카오 주소 검색 추가
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import Vue from 'vue';
|
||||
|
||||
const baseUrl = '/api/v2/admin/gift-mailbox'
|
||||
|
||||
async function getGiftMailbox() {
|
||||
const response = await Vue.axios.get(baseUrl)
|
||||
return response.data
|
||||
}
|
||||
|
||||
async function updateGiftMailbox(request) {
|
||||
const response = await Vue.axios.put(baseUrl, request)
|
||||
return response.data
|
||||
}
|
||||
|
||||
export { getGiftMailbox, updateGiftMailbox }
|
||||
Reference in New Issue
Block a user