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.
 
 
 
 

25 lines
1.1 KiB

'use strict';
const projectSituation = require('../../controllers/projectRegime/projectSituation');
module.exports = function (app, router, opts) {
app.fs.api.logAttr['GET/projectList'] = { content: '获取结构物列表', visible: false };
router.get('/projectList', projectSituation.projectList);
app.fs.api.logAttr['POST/addProject'] = { content: '新增修改结构物', visible: false };
router.post('/addProject', projectSituation.postAddProject);
app.fs.api.logAttr['DEL/delProject/:id'] = { content: '删除结构物', visible: false };
router.del('/delProject/:id', projectSituation.delProject);
app.fs.api.logAttr['POST/position'] = { content: '新增修改点位', visible: false };
router.post('/position', projectSituation.addPosition);
app.fs.api.logAttr['GET/position'] = { content: '获取点位列表', visible: false };
router.get('/position', projectSituation.position);
app.fs.api.logAttr['DEL/delPosition/:id'] = { content: '删除点位', visible: false };
router.del('/delPosition/:id', projectSituation.delPosition);
}