kakaopay.routes.js 419 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('/kakaopay/success')
  .get(kakaopayCtrl.success)

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

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

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

export default router