Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
butter-studio
Commits
d837894e
Commit
d837894e
authored
Jul 28, 2021
by
Jiwon Yoon
Browse files
좌석예매/로그인여부 판단 및 이메일 api
parent
91911f85
Changes
23
Hide whitespace changes
Inline
Side-by-side
server/routes/reservation.route.js
0 → 100644
View file @
d837894e
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
server/routes/theater.route.js
0 → 100644
View file @
d837894e
import
express
from
"
express
"
;
import
theaterCtrl
from
"
../controllers/theater.controller.js
"
;
const
router
=
express
.
Router
();
router
.
route
(
"
/getInfo
"
)
.
post
(
theaterCtrl
.
getTheaterInfo
)
export
default
router
;
server/routes/user.route.js
View file @
d837894e
...
@@ -20,11 +20,14 @@ router
...
@@ -20,11 +20,14 @@ router
.
get
(
userCtrl
.
compareId
)
.
get
(
userCtrl
.
compareId
)
router
router
.
route
(
"
/:id/:token
"
)
.
route
(
"
/:id/:token
"
)
.
get
(
userCtrl
.
confirmMbnum
)
.
get
(
userCtrl
.
confirmMbnum
)
router
// router
.
route
(
"
/:iddd
"
)
// .route("/:iddd")
.
get
(
userCtrl
.
getNickName
)
// .get(userCtrl.getNickName)
router
.
route
(
'
/getuserinfo
'
)
.
post
(
userCtrl
.
getUserInfo
)
export
default
router
;
export
default
router
;
\ No newline at end of file
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment