Files
syops/frontend/src/config.ts
T
2026-04-20 09:08:58 +08:00

49 lines
1.4 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
export const config = {
appTitle: 'hxai',
auth: {
wecom: {
enabled: true,
authorizeApi: '/api/user/wecom/authorize-url',
loginApi: '/api/user/wecom/login',
completeBindApi: '/api/user/wecom/complete-bind',
callbackPath: '/workspace',
deeplinkTraceApi: '/api/user/wecom/deeplink-opened',
taskCompleteApi: '/api/user/wecom/task-complete'
}
},
workspace: {
enableFeedback: true,
// 聊天窗口“源文件展示”开关配置
sourceFiles: {
// 是否显示源文件区域(包含上方文件按钮 + 下方“源文档”详情)
showSourceFiles: true,
// 是否显示 MD 源文件(文件名后缀为 .md/.markdown)
showMdFiles: true,
// 当 showMdFiles=true 时,MD 源文件是否默认展开“源文档”详情
expandMdByDefault: false,
},
modules: {
announcements: true,
favorites: true,
quickQuestions: false,
embedded: false,
allAgents: true
}
},
admin: {
modules: {
dashboard: true, // 仪表盘
approvals: true, // 用户审批
users: true, // 用户管理
departments: true, // 部门管理
agents: true, // 应用管理
announcements: true, // 公告管理
questions: true, // 常用问题
wecom: true, // 企业微信
permissions: true, // 应用权限
requests: true, // 审批权限
reports: true, // 数据报表
}
}
};