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.
9 lines
333 B
9 lines
333 B
'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));
|
|
};
|
|
|