运维服务中台
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.
 
 
 
 
 

16 lines
797 B

'use strict';
const problemData = require('../../controllers/problemData');
module.exports = function (app, router, opts) {
app.fs.api.logAttr['GET/maintenceRecordRank'] = { content: '获取维修记录排名', visible: true };
router.get('/maintenceRecordRank', problemData.getMaintenceRecordRank)
app.fs.api.logAttr['GET/maintenceTotal'] = { content: '获取维修次数统计', visible: true };
router.get('/maintenceTotal', problemData.getMaintenceTotal)
app.fs.api.logAttr['GET/equipmentCategory'] = { content: '获取设备类型', visible: true };
router.get('/equipmentCategory', problemData.getEquipmentCategory)
app.fs.api.logAttr['GET/maintenanceStatus'] = { content: '获取状态', visible: true };
router.get('/maintenanceStatus', problemData.getStatus)
}