|
|
@ -6,7 +6,7 @@ module.exports = function (app, router, opts) { |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
app.fs.api.logAttr['get/pump/station'] = { content: '获取所有站点信息', visible: true }; |
|
|
|
app.fs.api.logAttr['GET/pump/station'] = { content: '获取所有站点信息', visible: true }; |
|
|
|
router.get('/pump1/station1', data.getPumpStation); |
|
|
|
|
|
|
|
|
|
|
@ -16,7 +16,7 @@ module.exports = function (app, router, opts) { |
|
|
|
app.fs.api.logAttr['GET/pumpInformation'] = { content: '获取泵站信息', visible: true }; |
|
|
|
router.get('/pumpInformation', data.pumpInformation); |
|
|
|
|
|
|
|
app.fs.api.logAttr['get/videoUrl'] = { content: '获取视频监控url', visible: true }; |
|
|
|
app.fs.api.logAttr['GET/videoUrl'] = { content: '获取视频监控url', visible: true }; |
|
|
|
router.get('/videoUrl', data.getVideoUrl); |
|
|
|
|
|
|
|
|
|
|
|