You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							15 lines
						
					
					
						
							676 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							15 lines
						
					
					
						
							676 B
						
					
					
				
								'use strict';
							 | 
						|
								
							 | 
						|
								const maintenancePlan = require('../../controllers/maintenancePlan');
							 | 
						|
								
							 | 
						|
								module.exports = function (app, router, opts) {
							 | 
						|
								   app.fs.api.logAttr['GET/maintenancePlan'] = { content: '获取维护计划列表', visible: true };
							 | 
						|
								   router.get('/maintenancePlan', maintenancePlan.getMaintenancePlan);
							 | 
						|
								
							 | 
						|
								   app.fs.api.logAttr['DEL/maintenancePlan'] = { content: '删除维护计划列表', visible: true };
							 | 
						|
								   router.del('/maintenancePlan', maintenancePlan.delMaintenancePlan);
							 | 
						|
								
							 | 
						|
								   app.fs.api.logAttr['POST/maintenancePlan'] = { content: '编辑或者添加维护计划列表', visible: true };
							 | 
						|
								   router.post('/maintenancePlan', maintenancePlan.editMaintenancePlan);
							 | 
						|
								
							 | 
						|
								};
							 |