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.
18 lines
866 B
18 lines
866 B
2 years ago
|
'use strict';
|
||
|
|
||
|
const serverInfoMaintenanceRecord = require('../../controllers/serverInfoMaintenanceRecord');
|
||
|
|
||
|
module.exports = function (app, router, opts) {
|
||
|
app.fs.api.logAttr['GET/serverInfoMaintenanceRecord'] = { content: '获取服务器维护记录列表', visible: true };
|
||
|
router.get('/serverInfoMaintenanceRecord', serverInfoMaintenanceRecord.getServerInfoMaintenanceRecord)
|
||
|
|
||
|
app.fs.api.logAttr['POST/serverInfoMaintenanceRecord'] = { content: '编辑服务器维护记录列表', visible: true };
|
||
|
router.post('/serverInfoMaintenanceRecord', serverInfoMaintenanceRecord.editServerInfoMaintenanceRecord)
|
||
|
|
||
|
app.fs.api.logAttr['DEL/serverInfoMaintenanceRecord/:id'] = { content: '删除服务器维护记录列表', visible: true };
|
||
|
router.del('/serverInfoMaintenanceRecord/:id', serverInfoMaintenanceRecord.delServerInfoMaintenanceRecord)
|
||
|
}
|
||
|
|
||
|
|
||
|
|