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.
12 lines
643 B
12 lines
643 B
'use strict';
|
|
|
|
const aichat = require('../controllers/aichat');
|
|
|
|
module.exports = function (app, router, opts) {
|
|
const { middlewares: { auth } } = app
|
|
|
|
router.get('/aichat/knowledge', aichat.getKnowledgeList, { content: '转发获取知识库列表', visible: true });
|
|
router.post('/aichat/quote/optimize', aichat.optimizeQuoteData, { content: '优化引用数据', visible: true });
|
|
router.post('/aichat/downloadScheme', aichat.downloadScheme, { content: '下载方案', visible: true });
|
|
router.post('/aichat/workingHoursEstimate', aichat.downloadWorkingHoursEstimate, { content: '下载工时评估表', visible: true });
|
|
};
|
|
|