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.
14 lines
487 B
14 lines
487 B
2 years ago
|
|
||
|
|
||
|
'use strict';
|
||
|
|
||
|
const application = require('../../controllers/alarm/app');
|
||
|
|
||
|
module.exports = function (app, router, opts) {
|
||
|
app.fs.api.logAttr['POST/alarm/application/inspection'] = { content: '保存应用巡检信息', visible: true };
|
||
|
router.post('/alarm/application/inspection', application.inspection);
|
||
|
|
||
|
app.fs.api.logAttr['PUT/alarm/application/noted'] = { content: '保存检验状态', visible: true };
|
||
|
router.put('/alarm/application/noted', application.noted);
|
||
|
};
|