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
555 B
14 lines
555 B
'use strict';
|
|
|
|
const water = require('../../controllers/superScreen/water');
|
|
|
|
module.exports = function (app, router, opts, AuthCode) {
|
|
|
|
//获取实时态势数据
|
|
app.fs.api.logAttr['GET/water/realstate'] = { content: '获取实时态势数据', visible: true };
|
|
router.get('/water/realstate', water.getRealStateData(opts));
|
|
|
|
//获取水利应急抢险数据
|
|
app.fs.api.logAttr['GET/water/emergency'] = { content: '获取水利应急抢险数据', visible: true };
|
|
router.get('/water/emergency', water.getEmergencyList(opts));
|
|
};
|
|
|