...
|
...
|
@@ -22,5 +22,6 @@ router.post('/logout', middleware(UserController, 'logout')); |
|
|
router.post('/switchShop', before, auth, middleware(UserController, 'switchShop'));
|
|
|
router.post('/upload/image', before, auth, multipartMiddleware, middleware(FileController, 'uploadImage'));
|
|
|
router.post('/upload/xlsx', before, auth, multipartMiddleware, middleware(FileController, 'uploadXlsx'));
|
|
|
router.post('/importSeller', before, auth, multipartMiddleware, middleware(FileController, 'importSeller'));
|
|
|
|
|
|
module.exports = router; |
...
|
...
|
|