运维服务中台
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.
 
 
 
 
 

23 lines
920 B

'use strict';
const console = require('../../controllers/console/index');
module.exports = function (app, router, opts) {
//我的工作台
app.fs.api.logAttr['GET/user/:userId/workbench'] = { content: '查询工作台问题', visible: false };
router.get('/user/:userId/workbench', console.getWorkbench);
//项目概览
app.fs.api.logAttr['GET/user/:userId/projects/info'] = { content: '查询项目概览', visible: false };
router.get('/user/:userId/projects/info', console.getProjectsInfo);
//BI分析模块
app.fs.api.logAttr['GET/user/:userId/bi/analysis'] = { content: '查询BI分析数据', visible: false };
router.get('/user/:userId/bi/analysis', console.getBiAnalysis);
//最新动态
app.fs.api.logAttr['GET/user/:userId/latest/dynamic'] = { content: '查询最新动态', visible: false };
router.get('/user/:userId/latest/dynamic', console.getLatestDynamic);
};