You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
527 B
JavaScript
21 lines
527 B
JavaScript
9 months ago
|
'use strict';
|
||
|
|
||
|
// const controller = require('./contact.controller');
|
||
|
|
||
|
module.exports = Router => {
|
||
|
const router = new Router({
|
||
|
prefix: `/contacts`,
|
||
|
});
|
||
|
|
||
|
// router
|
||
|
// .get('/qrcode', callController.getIn)
|
||
|
// // .get('/qrcode', controller.qrcode)
|
||
|
// .get('/:id', controller.getOne)
|
||
|
// .get('/', controller.getAll)
|
||
|
// .post('/', controller.createOne);
|
||
|
// router.post('/get-in', callController.getIn);
|
||
|
// router.post('/send-msg', callController.sendMsg);
|
||
|
|
||
|
return router;
|
||
|
};
|