政务数据资源中心(Government data Resource center) 03专项3期主要建设内容
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.
 
 
 
 

24 lines
1.0 KiB

'use strict';
const fire = require('../../controllers/superScreen/fire');
module.exports = function (app, router, opts, AuthCode) {
//查询消防告警
app.fs.api.logAttr['GET/fire/alarm'] = { content: '查询消防告警', visible: true };
router.get('/fire/alarm', fire.getFireAlarmList(opts));
//新增消防告警
app.fs.api.logAttr['POST/fire/alarm'] = { content: '新增消防告警', visible: true };
router.post('/fire/alarm', fire.addAlarm(opts));
//修改消防告警状态
app.fs.api.logAttr['PUT/fire/alarm/:id'] = { content: '修改消防告警状态', visible: true };
router.put('/fire/alarm/:id', fire.updateAlarm(opts));
app.fs.api.logAttr['GET/videoCenter/list'] = { content: '获取萤石设备列表', visible: true };
router.get('/videoCenter/list', fire.videoList(opts));
app.fs.api.logAttr['GET/trafficindex/city/detailst'] = { content: '获取南昌市道路数据', visible: true };
router.get('/trafficindex/city/details', fire.getDetails(opts));
};