'use strict'; const pump = require('../../controllers/superScreen/pump'); module.exports = function (app, router, opts, AuthCode) { // 获取水泵状态 app.fs.api.logAttr['GET/pumpStatus/:structId'] = { content: '获取水泵状态', visible: true }; router.get('/pumpStatus/:structId', pump.getPumpStatus(opts)); };