ai-query对接新版freesun-agent接口的分支
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.
 
 
 

13 lines
1.3 KiB

'use strict';
const report = require('../../controllers/report');
module.exports = function (app, router, opts) {
router.get('/reports/templates/:templateId/batch-dimension', report.getTemplateBatchDimension, { content: '获取模板主批量维度', visible: true });
router.put('/reports/templates/:templateId/batch-dimension', report.upsertTemplateBatchDimension, { content: '创建或更新模板主批量维度', visible: true });
router.delete('/reports/templates/:templateId/batch-dimension', report.deleteTemplateBatchDimension, { content: '删除模板主批量维度', visible: true });
router.get('/reports/templates/:templateId/blocks/:templateBlockId/batch-binding', report.getTemplateBlockBatchBinding, { content: '获取模板块批量绑定', visible: true });
router.put('/reports/templates/:templateId/blocks/:templateBlockId/batch-binding', report.upsertTemplateBlockBatchBinding, { content: '创建或更新模板块批量绑定', visible: true });
router.delete('/reports/templates/:templateId/blocks/:templateBlockId/batch-binding', report.deleteTemplateBlockBatchBinding, { content: '删除模板块批量绑定', visible: true });
router.post('/reports/templates/:templateId/batch-dimension/values/preview', report.previewTemplateBatchDimensionValues, { content: '预览模板主批量维度值', visible: true });
};