Commit d837894e authored by Jiwon Yoon's avatar Jiwon Yoon
Browse files

좌석예매/로그인여부 판단 및 이메일 api

parent 91911f85
import express from "express";
import ReservationCtrl from "../controllers/reservation.controller.js";
const router = express.Router();
router.route('/findreservation')
.post(ReservationCtrl.findReservation)
export default router;
\ No newline at end of file
import express from "express";
import theaterCtrl from "../controllers/theater.controller.js";
const router = express.Router();
router.route("/getInfo")
.post(theaterCtrl.getTheaterInfo)
export default router;
......@@ -23,8 +23,11 @@ router
.route("/:id/:token")
.get(userCtrl.confirmMbnum)
router
.route("/:iddd")
.get(userCtrl.getNickName)
// router
// .route("/:iddd")
// .get(userCtrl.getNickName)
router.route('/getuserinfo')
.post(userCtrl.getUserInfo)
export default router;
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment