mirror of https://github.com/jeecgboot/jeecg-boot
				
				
				
			
		
			
				
	
	
		
			24 lines
		
	
	
		
			428 B
		
	
	
	
		
			Vue
		
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			428 B
		
	
	
	
		
			Vue
		
	
	
| 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,
 | |
|   },
 | |
| ];
 |