12 lines
408 B
JavaScript
12 lines
408 B
JavaScript
'use strict';
|
|
const router = require('express').Router();
|
|
const services= require('./services.js');
|
|
|
|
router.post('/loading/:id', services.postLoadingAttachment );
|
|
router.post('/downloading/:id', services.postDownloadingAttachment );
|
|
router.get('/load/:id', services.getLoadAttachmentList );
|
|
router.get('/:id', services.getAttachment );
|
|
router.get('/', services.getAttachmentList );
|
|
|
|
module.exports = router;
|