1234567891011121314151617181920212223 |
- import UserController from './controller/UserController';
- import FileController from './controller/FileController';
- export default [
-
- {
- path: '/login',
- method: 'post',
- action: UserController.login,
- },
- {
- path: '/getUserInfoById',
- method: 'get',
- action: UserController.getUserInfoById,
- },
-
- {
- path: '/upload',
- method: 'post',
- action: FileController.upload,
- },
- ];
|