mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-03 02:47:30 +00:00
24 lines
425 B
TypeScript
24 lines
425 B
TypeScript
import UserController from './controller/UserController'
|
|
import FileController from './controller/FileController'
|
|
|
|
export default [
|
|
// user
|
|
{
|
|
path: '/login',
|
|
method: 'post',
|
|
action: UserController.login,
|
|
},
|
|
{
|
|
path: '/getUserInfoById',
|
|
method: 'get',
|
|
action: UserController.getUserInfoById,
|
|
},
|
|
|
|
// file
|
|
{
|
|
path: '/upload',
|
|
method: 'post',
|
|
action: FileController.upload,
|
|
},
|
|
]
|