const { Router } = require('express') const router = Router() const bankAccount = require('../controllers/GPS.BankAccount') const withdraw = require('../controllers/GPS.Withdraw') /// ///////////////// Bank card router.post('/bank-card', bankAccount.addCard) router.get('/bank-card', bankAccount.getAll) router.delete('/bank-card/:id', bankAccount.deleteCard) /// ///////////////// Withdraw request router.post('/withdraw', withdraw.createRequest) router.get('/withdraw', withdraw.getAllForUser) module.exports = router