...
|
...
|
@@ -9,8 +9,7 @@ |
|
|
const Express = require('express');
|
|
|
const UserController = require('./user-controller');
|
|
|
const FileController = require('./file-controller');
|
|
|
const OutputController = require('./output-controller');
|
|
|
const middleware = require('../common/middleware');
|
|
|
const middleware = require('../framework/middleware');
|
|
|
const multipart = require('connect-multiparty');
|
|
|
const multipartMiddleware = multipart();
|
|
|
|
...
|
...
|
@@ -20,7 +19,5 @@ router.post('/login', middleware(UserController, 'login')); |
|
|
router.post('/logout', middleware(UserController, 'logout'));
|
|
|
router.post('/upload/image', multipartMiddleware, middleware(FileController, 'uploadImage'));
|
|
|
|
|
|
// router.get('/output/productList', middleware(OutputController, 'productList'));
|
|
|
|
|
|
|
|
|
module.exports = router; |
...
|
...
|
|