web/routers/product.js
2021-11-02 12:20:20 +07:00

29 lines
No EOL
540 B
JavaScript

const express = require('express')
const router = express.Router()
router.get('/', (req, res) => {
res.render('pages/product')
})
router.get(('/successadd'), (req, res) => {
res.render('pages/successadd')
})
router.get('/bag', (req, res) => {
res.render('pages/bag')
})
router.get('/checkout', (req, res) => {
res.render('pages/checkout')
})
router.get('/notifpay', (req, res) => {
res.render('pages/notifpay')
})
router.get('/payment', (req, res) => {
res.render('pages/payment')
})
module.exports = router;