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

'use strict';
const record = require('../../controllers/record');
module.exports = function (app, router, opts) {
app.fs.api.logAttr['GET/record'] = { content: '获取服务记录列表', visible: true };
router.get('/record', record.getRecord);
app.fs.api.logAttr['PUT/record'] = { content: '新增/编辑服务记录', visible: true };
router.put('/record', record.addRecord);
app.fs.api.logAttr['DEL/record/:id'] = { content: '删除服务记录', visible: true };
router.del('/record/:id', record.delRecord);
};