add pagination and fix bug
This commit is contained in:
@@ -3,6 +3,7 @@ const router = Router()
|
||||
const bankAccount = require('../controllers/GPS.BankAccount')
|
||||
const withdraw = require('../controllers/GPS.Withdraw')
|
||||
const installedDevice = require('../controllers/GPS.InstalledDevice')
|
||||
const score = require('../controllers/GPS.Score')
|
||||
|
||||
/// ///////////////// Bank card
|
||||
router.post('/bank-card', bankAccount.addCard)
|
||||
@@ -16,4 +17,7 @@ router.get('/withdraw', withdraw.getAllForUser)
|
||||
router.post('/register-device', installedDevice.deviceRegistration)
|
||||
router.get('/register-device', installedDevice.getAllForUser)
|
||||
|
||||
/// ///////////////// Score
|
||||
router.get('/score', score.getAll)
|
||||
|
||||
module.exports = router
|
||||
|
||||
Reference in New Issue
Block a user