kakaopay.route.js 372 Bytes
Newer Older
Jiwon Yoon's avatar
Jiwon Yoon committed
1
2
3
4
5
6
import express from 'express'
import kakaopayCtrl from '../controllers/kakaopay.controller.js'

const router = express.Router()

router.route('/success')
Jiwon Yoon's avatar
Jiwon Yoon committed
7
  .post(kakaopayCtrl.success)
Jiwon Yoon's avatar
Jiwon Yoon committed
8
9
10
11
12
13
14
15
16
17
18

router.route('/fail')
  .get(kakaopayCtrl.fail)

router.route('/cancel')
  .get(kakaopayCtrl.cancel)

router.route('/test/single')
  .post(kakaopayCtrl.singleTest)

export default router