mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 17:16:27 +00:00
29 lines
789 B
JavaScript
29 lines
789 B
JavaScript
const { Router } = require("express")
|
|
const router = Router()
|
|
|
|
const _readData = require('../controller/readData')
|
|
const _readDataResp = require('../controller/readDataResp')
|
|
|
|
const _auth1 = require('../controller/authenticate1')
|
|
const _auth2 = require('../controller/authenticate2')
|
|
const _authResp = require('../controller/authenticateResp')
|
|
|
|
const _topup = require('../controller/topup')
|
|
const _topupResp = require('../controller/topupResp')
|
|
|
|
const _end = require('../controller/endTranscation')
|
|
|
|
router.post('/read', _readData)
|
|
router.post('/readResp', _readDataResp)
|
|
|
|
router.post('/auth1', _auth1)
|
|
router.post('/auth2', _auth2)
|
|
router.post('/authResp', _authResp)
|
|
|
|
router.post('/topup', _topup)
|
|
router.post('/topupResp', _topupResp)
|
|
|
|
router.post('/end',_end)
|
|
|
|
|
|
module.exports = router |