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.
 
 
 

9 lines
530 B

'use strict';
const report = require('../../controllers/report');
module.exports = function (app, router, opts) {
router.post('/reports/instances/:instanceId/chapters/:chapterId/blocks', report.createBlock, { content: '创建内容块', visible: true });
router.put('/reports/instances/:instanceId/blocks/:blockId', report.updateBlock, { content: '更新内容块', visible: true });
router.delete('/reports/instances/:instanceId/blocks/:blockId', report.deleteBlock, { content: '删除内容块', visible: true });
};