kakaopay.route.js 371 Bytes
Newer Older
Jiwon Yoon's avatar
Jiwon Yoon committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import express from 'express'
import kakaopayCtrl from '../controllers/kakaopay.controller.js'

const router = express.Router()

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

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

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

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

export default router