locCodeRouter.js 377 Bytes
Newer Older
1
2
import express from "express";
import routes from "../routes";
3
import { getDoe, getEMD, getSGG } from "../controllers/locCodeController";
4
5
6

const locCodeRouter = express.Router();

7
locCodeRouter.get(routes.doe, getDoe);
8
9
10
11
locCodeRouter.get(routes.sigungu + routes.Detail(), getSGG);
locCodeRouter.get(routes.eupmyeondong + routes.Detail(), getEMD);

export default locCodeRouter;