feat : area.js upload

This commit is contained in:
이정혁 2024-05-16 11:48:35 +09:00
parent 97be21d84b
commit 9656cec5cb

13
src/api/area.js Normal file
View File

@ -0,0 +1,13 @@
import { localAxios } from "@/utils/http-commons";
const local = localAxios;
function getSido(success, fail) {
local.get(`/area/sido`).then(success).catch(fail);
}
function getGugun(sidoCode, success, fail) {
local.get(`/area/sido?sidoCode=${sidoCode}`).then(success).catch(fail);
}
export { getSido, getGugun };